To generate optimal code, size itself needs to be of the same type as the index to avoid promotion to the largest type. In full(), wrap the subtraction explicity in another type cast to avoid another automatic type promotion. |
||
|---|---|---|
| .. | ||
| config | ||
| hal | ||
| logic | ||
| modules | ||
| main.cpp | ||
| main.dox | ||
| pins.h | ||
| version.c | ||
| version.h | ||