fix if statement

pull/71/head
Eben van Ellewee 2021-03-29 09:55:34 +02:00
rodzic 684253ce0e
commit 2db65cc2bd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1445,7 +1445,7 @@ void Display::drawGPS(DispEntry *de) {
void Display::drawBatt(DispEntry *de) {
float val;
char buf[30];
// if(!axp192_found) return;
if(!axp192_found && sonde.fingerprint != 31) return;
if (!axp192_found && sonde.fingerprint == 31)
{
xSemaphoreTake(axpSemaphore, portMAX_DELAY);