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.
Diff: utility/logging.h
- 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