构建失败,出现以下两个错误,以及一些关于在速度查找表中需要一些常量的抱怨。
temperature.cpp:在函数”int temp2模拟(int,uint8_t)”中:
温度。CPP:283:7: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”浮点模拟2temp(int,uint8_t)”中:
温度。CPP:353:7: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”无效最大温度错误(uint8_t)”中:
温度。CPP:582:3: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”无效最小温度错误(uint8_t)”中:
温度。cpp:589:3: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”无效床最大温度错误()”中:
温度。CPP:595:3: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
构建失败,出现以下两个错误,以及一些关于在速度查找表中需要一些常量的抱怨。
temperature.cpp:在函数”int temp2模拟(int,uint8_t)”中:
温度。CPP:283:7: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”浮点模拟2temp(int,uint8_t)”中:
温度。CPP:353:7: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”无效最大温度错误(uint8_t)”中:
温度。CPP:582:3: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”无效最小温度错误(uint8_t)”中:
温度。cpp:589:3: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”无效床最大温度错误()”中:
温度。CPP:595:3: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’