sigvaldm / SevenSeg

Arduino 7-segment display library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

_B and _C fields collide with esp-idf's newlib's ctype.h

AndriiNeverov opened this issue · comments

https://github.com/espressif/esp-idf/blob/master/components/newlib/include/ctype.h has

#define _C 040
...
#define _B 0200

Changing to something like _b/_c or _PIN_B/_PIN_C solves the issue.