add _print* for esp

This commit is contained in:
Thomas Kunze 2018-08-16 23:54:53 +02:00
parent 4dffda5574
commit 7d86f63f8e

3
bits.h
View File

@ -49,7 +49,8 @@ void println(void);
#else
#include <Arduino.h>
#include <user_interface.h>
#define printf Serial.printf
#define _print Serial.print
#define _println Serial.println
#endif
void printHex(const char* suffix, const uint8_t *data, size_t length);