Question
#define eeprom value
Hello,
I have settings in my EEPROM. I would like to assign these parameters with a #define.
I tried several things, searched the internet, but couldn't find anything conclusive.
I found something, but it is not suitable for my program, here it is :
#define a ((uint16_t*) ((uint32_t) 0x08080000))It works this way :
if(*a == 1)
{
.....
}But it doesn't work that way which fits my program :
#if( *a == 1)
.....
#endifDo you know the right way to do it ? Thank you
