Style tweak in MarlinSerialUSB_Due.h
This commit is contained in:
parent
3d1692d1fd
commit
0106c3e476
1 changed files with 4 additions and 4 deletions
|
@ -59,10 +59,10 @@ public:
|
||||||
FORCE_INLINE static int rxMaxEnqueued() { return 0; }
|
FORCE_INLINE static int rxMaxEnqueued() { return 0; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static FORCE_INLINE void write(const char* str) { while (*str) write(*str++); }
|
FORCE_INLINE static void write(const char* str) { while (*str) write(*str++); }
|
||||||
static FORCE_INLINE void write(const uint8_t* buffer, size_t size) { while (size--) write(*buffer++); }
|
FORCE_INLINE static void write(const uint8_t* buffer, size_t size) { while (size--) write(*buffer++); }
|
||||||
static FORCE_INLINE void print(const String& s) { for (int i = 0; i < (int)s.length(); i++) write(s[i]); }
|
FORCE_INLINE static void print(const String& s) { for (int i = 0; i < (int)s.length(); i++) write(s[i]); }
|
||||||
static FORCE_INLINE void print(const char* str) { write(str); }
|
FORCE_INLINE static void print(const char* str) { write(str); }
|
||||||
|
|
||||||
static void print(char, int = 0);
|
static void print(char, int = 0);
|
||||||
static void print(unsigned char, int = 0);
|
static void print(unsigned char, int = 0);
|
||||||
|
|
Reference in a new issue