cassyarduino cassyarduino / UIPEthernet
Revision:
24:fb407a7f57bb
Parent:
23:888d27c409df
Child:
25:ef941d560208
--- a/utility/logging.h	Sat Jan 14 21:18:53 2017 +0100
+++ b/utility/logging.h	Sat Jan 14 21:25:56 2017 +0100
@@ -51,6 +51,8 @@
      #define uart_send_bin(x) printf("%B",x)
      #define uart_send_binln(x) printf("%B\r\n",x)
      #define uart_send_buf_len(buf,len) printf("%.*s",len,buf);
+
+     #define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
    #endif
 #endif
 
@@ -62,8 +64,5 @@
     #define FP(x)     (__FlashStringHelper*)(x)         // Helper
   #endif
 #endif
-#if defined(__MBED__)
-//  #define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
-#endif
 
 #endif