add PRINTF, StandardOutput for debugging

This commit is contained in:
cuu
2021-05-13 16:50:01 +08:00
parent 3fb2310548
commit fb12b78724
3 changed files with 7 additions and 3 deletions

View File

@@ -13,6 +13,8 @@
#define ALINE printf("\n");
#define PRINTF(...) { printf(__VA_ARGS__);fflush(stdout);}
void delayus(unsigned int _us);
uint8_t invert_bit(uint8_t a);