turgu1 / ESP-IDF-InkPlate

A porting effort to the ESP-IDF framework for the e-Radionica InkPlate software.
15 stars 9 forks source link

Log configured device in native example #19

Closed tobymurray closed 1 year ago

tobymurray commented 1 year ago

I personally tripped over this in #18. The documentation exists to avoid getting this wrong, but I think it'd be nice to have some kind of output at runtime.

This logs the configuration, so the message looks something like:

I (1538) Main: Main task has started, configured as INKPLATE_6PLUS

I'm terrible at C++, so very open to there being a better way to do this.