Remove the constructor from GPIO_pin so that we can use brace initialization at compile time. Rewrite the contents of pins.h to construct GPIO_pin types directly by the use of a simple preprocessor macro. Makes the code type-check and easier to read/extend. |
||
|---|---|---|
| .. | ||
| config | ||
| hal | ||
| logic | ||
| modules | ||
| main.cpp | ||
| main.dox | ||
| pins.h | ||
| version.c | ||
| version.h | ||