Axeda Ready Demo for Freescale FRDM-KL46Z as accident alert system
Dependencies: FRDM_MMA8451Q KL46Z-USBHost MAG3110 SocketModem TSI mbed FATFileSystem
Fork of AxedaGo-Freescal_FRDM-KL46Z by
Diff: AMMPC/axToolkit.c
- Revision:
- 0:65004368569c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AMMPC/axToolkit.c Tue Jul 01 21:31:54 2014 +0000 @@ -0,0 +1,22 @@ +#include "axToolkit.h" +#include "axTransport.h" + +int debugEnabled=AX_TRUE; + +void printDebug(char *msg) { + if(debugEnabled==AX_TRUE){ + ax_print(AX_DEBUG_MSG, msg); + } + } + +void printError(char *msg) { + ax_print(AX_ERROR_MSG, msg); + } + +int ax_debugEnabled() { + if(debugEnabled==1) { return AX_TRUE; } + else {return AX_FALSE; } + } + + +