m5stack / M5StickC

M5StickC Arduino Library
MIT License
476 stars 221 forks source link

fix unused variable error #161

Closed charcodelimit closed 1 year ago

charcodelimit commented 1 year ago
Tinyu-Zhao commented 1 year ago

How can I reproduce this problem, I don't see it in my environment MacOS,Arduino IDE 2.0.3,M5StickC 0.2.8,M5Stack Arduino Version 2.0.6

charcodelimit commented 1 year ago

How can I reproduce this problem, I don't see it in my environment MacOS,Arduino IDE 2.0.3,M5StickC 0.2.8,M5Stack Arduino Version 2.0.6

The "Compiler warnings" setting in the IDE's preferences has to be set to "All". Thanks for asking, I have updated the commit comment to make this more clear.

charcodelimit commented 1 year ago

was fixed by commit: 431f5a5d91a84eeff722e7f855d9b7045e8453b6