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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user