Grove LED Bar with ESP32

I have planned to use Grove LED Bar with ESP32 on Arduino IDE, but unfortunately it turns out even the example code does not compile, it fails with an error (deduced conflicting types for parameter ‘const _Tp’). The error is reproducible, if one has the ESP32 board loaded in Arduino, all LED Bar examples fail.

It would be great if someone more knowledgeable looked into it, unfortunately, I have no idea how to fix this…