ESP8266 part of the f105-motor-demo project (see f105-motor-demo_stm32)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef SBMP_COMMON_H
|
|
|
|
#define SBMP_COMMON_H
|
|
|
|
|
|
|
|
#include "sbmp_config.h"
|
|
|
|
#include "esp8266.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* SBMP logging utils
|
|
|
|
*/
|
|
|
|
|
|
|
|
// do-nothing definitions
|
|
|
|
#define sbmp_error(fmt, ...) os_printf("\x1b[31;1mSBMP][E] "fmt"\x1b[0m\r\n", ##__VA_ARGS__)
|
|
|
|
#define sbmp_info(fmt, ...) os_printf("\x1b[32;1m[SBMP][i] "fmt"\x1b[0m\r\n", ##__VA_ARGS__)
|
|
|
|
|
|
|
|
#endif /* SBMP_COMMON_H */
|