SRA-VJTI / sra-board-component

ESP-IDF component for SRA Board
https://sravjti.in/sra-board-component/
MIT License
36 stars 20 forks source link

Binary integer -> Boolean #20

Closed laukik-hase closed 4 years ago

laukik-hase commented 4 years ago

https://github.com/SRA-VJTI/sra-board-component/blob/68f9218c43a19602efffc0e2fb7a6978a14c6650/src/bar_graph.c#L15 It will be better to replace integers by boolean, where they assume only 2 values.

VedantParanjape commented 4 years ago

It has 0 for off, 1 for parallel mode and 2 for normal mode