pappersverk / inky

A library for managing Inky e-ink displays from Elixir.
Apache License 2.0
72 stars 11 forks source link

Correct dimensions from EEPROM #44

Closed mnishiguchi closed 3 years ago

mnishiguchi commented 3 years ago

I found a bug in the data parsing code I wrote in https://github.com/pappersverk/inky/pull/39. Width and height are supposed to be little-16, but current logic only reads low 8 bits. Those values become wrong when they are greater than 255.