smaller fixes
This commit is contained in:
parent
9e1a4d821f
commit
a960e67c7d
@ -120,8 +120,15 @@ void setup()
|
|||||||
Serial.print("INA219 not Initialized\n");
|
Serial.print("INA219 not Initialized\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
InitLoRa(&setMPins_Helper);
|
if (InitLoRa(&setMPins_Helper))
|
||||||
tmrStatusSender.start();
|
{
|
||||||
|
Serial.printf("Initialized LoRa_Transceiver");
|
||||||
|
tmrStatusSender.start();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Serial.print("LoRa not Initialized\n");
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef FEATURE_ENABLE_WIFI_CLIENT
|
#ifdef FEATURE_ENABLE_WIFI_CLIENT
|
||||||
WiFi.mode(WIFI_STA);
|
WiFi.mode(WIFI_STA);
|
||||||
@ -499,7 +506,6 @@ void ProcessKeyCombos(bool *btnState)
|
|||||||
} keyStatus_t;
|
} keyStatus_t;
|
||||||
|
|
||||||
static keyStatus_t keyStatus_Fac1 = KEY_RELEASED;
|
static keyStatus_t keyStatus_Fac1 = KEY_RELEASED;
|
||||||
static uint8_t keyCount_Fac1 = 0;
|
|
||||||
static keyStatus_t keyStatus_Fac2 = KEY_RELEASED;
|
static keyStatus_t keyStatus_Fac2 = KEY_RELEASED;
|
||||||
static uint8_t keyCount_Fac2 = 0;
|
static uint8_t keyCount_Fac2 = 0;
|
||||||
static keyStatus_t keyStatus_Fac3 = KEY_RELEASED;
|
static keyStatus_t keyStatus_Fac3 = KEY_RELEASED;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user