I have #define SCALES_MODULE_NUM 1
and the following parameters depend on it.
#if SCALES_MODULE_NUM > 0
0, // id: 39
0, // id: 40
110, // id: 41
0, // id: 42
#endif
#if SCALES_MODULE_NUM > 1
0, // id: 43
200, // id: 44
0, // id: 45
#endif
#if SCALES_MODULE_NUM > 2
0, // id: 46
300, // id: 47
0, // id: 48
#endif
#if SCALES_MODULE_NUM > 3
0, // id: 49
0, // id: 50
0, // id: 51
#endif
I noticed that when changing the define value and loading the values into eeprom, the actual values in eeprom do not change. But it changes after the -t clean (-t fullclean) command.
pio run -e EEP -t fullclean -t upload
pio run -e EEP -t fullclean -t uploadeep
I suppose this is not a standard behavior, what can I check to rule out further errors?
MCU Atmega328
bootloader - NO
MiniCore
macOS