Seeed-Studio / Grove_LED_Bar

A powerful MY9221 LED driver
MIT License
30 stars 45 forks source link

Fix std::max() error #28

Closed MarvynBornemann closed 2 years ago

MarvynBornemann commented 2 years ago

I had compilation problems with the std::max() function. The change from unsigned long to a const uint32_t fixed this problem for me, because all the other variables in the std::max() function are const uint32_t as well.

Pillar1989 commented 2 years ago

@MarvynBornemann which platform do you test ?

MarvynBornemann commented 2 years ago

I tried to compile for a ESP8266, ESP32 and just normal Arduino through the Arduino IDE 2 running on a MacBook. Got the same Error message for all 3 Boards.