Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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; }
+ }
+
+
+
