I am writing some embedded code to interface with an external device over SPI. The device has several registers of varying length and to help keep things straight I have def
const doesn't make them constants at compile time. Make them #defines and the compiler will be happy.