m5stack / M5Core-Ink

M5Stack CoreInk Arduino Library
MIT License
44 stars 33 forks source link

getBatVoltage seems to be missing a free #15

Closed phoddie closed 2 years ago

phoddie commented 3 years ago

It looks like the memory allocated by this function will be orphaned.

https://github.com/m5stack/M5-CoreInk/blob/b5003a1661bb55c48a0c1d1aa2b191e6e2bb00ca/examples/FactoryTest/FactoryTest.ino#L52-L61

Tinyu-Zhao commented 2 years ago

We have now solved this problem, thank you for your feedback

phoddie commented 2 years ago

Great. Thank you!