1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-16 07:23:07 +01:00

Flash LED is working but blinking is not working

This commit is contained in:
norbert-walter
2024-01-06 15:26:53 +01:00
parent a97a69c3f7
commit f394cb0e43
4 changed files with 12 additions and 12 deletions

View File

@@ -394,11 +394,11 @@ void OBP60Task(GwApi *api){
// If GPS fix then LED off (HDOP)
if(String(gpsFix) == "GPS Fix Lost" && date->valid == true){
setPortPin(OBP_FLASH_LED, false);
setFlashLED(false);
}
// Ifmissing GPS fix then LED on
if(String(gpsFix) == "GPS Fix Lost" && date->valid == false){
setPortPin(OBP_FLASH_LED, true);
setFlashLED(true);
}
// Check the keyboard message