You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello , i compiled the code as Gateway and if works fine.But if i add the option for node (_GATEWAYNODE=1) I get an error while compiling error: expected initializer before '.' token uint16_t LoraDown.fcnt = 0;
Do someone know how to fix it?
i'm using Lora heltech v2 and platfformio .
`Compiling .pio\build\Gateway_38\lib326\WiFi\WiFiMulti.cpp.o`
`C:/Users/INFORMATIQUE/Desktop/ESP-1ch-Gateway-master/src/ESP-sc-gway.ino: At global scope:
C:/Users/INFORMATIQUE/Desktop/ESP-1ch-Gateway-master/src/ESP-sc-gway.ino:203:17: error: expected initializer before '.' token`
` uint16_t LoraUp.fcnt = 0; // We write this to SPIFF file`
^
`C:/Users/INFORMATIQUE/Desktop/ESP-1ch-Gateway-master/src/ESP-sc-gway.ino:204:19: error: expected initializer before '.' token
uint16_t LoraDown.fcnt = 0; // LoraDown framecount init 0`
^
`C:/Users/INFORMATIQUE/Desktop/ESP-1ch-Gateway-master/src/_loraFiles.ino: In function 'int readGwayCfg(const char*, espGwayConfig*)':
C:/Users/INFORMATIQUE/Desktop/ESP-1ch-Gateway-master/src/_loraFiles.ino:137:18: error: 'struct espGwayConfig' has no member named 'fcnt'
if (gwayConfig.fcnt != (uint8_t) 0) {`
^
`C:/Users/INFORMATIQUE/Desktop/ESP-1ch-Gateway-master/src/_loraFiles.ino:138:29: error: 'struct espGwayConfig' has no member named **'fcnt'**`
`LoraUp.fcnt = gwayConfig.fcnt+10; // Assume it is only 10 off`
Thank for helping.
The text was updated successfully, but these errors were encountered:
Hello , i compiled the code as Gateway and if works fine.But if i add the option for node (_GATEWAYNODE=1) I get an error while compiling
error: expected initializer before '.' token uint16_t LoraDown.fcnt = 0;
Do someone know how to fix it?
i'm using Lora heltech v2 and platfformio .
Thank for helping.
The text was updated successfully, but these errors were encountered: