kopia lustrzana https://github.com/dl9rdz/rdz_ttgo_sonde
fix if statement
rodzic
684253ce0e
commit
2db65cc2bd
|
@ -1445,7 +1445,7 @@ void Display::drawGPS(DispEntry *de) {
|
||||||
void Display::drawBatt(DispEntry *de) {
|
void Display::drawBatt(DispEntry *de) {
|
||||||
float val;
|
float val;
|
||||||
char buf[30];
|
char buf[30];
|
||||||
// if(!axp192_found) return;
|
if(!axp192_found && sonde.fingerprint != 31) return;
|
||||||
if (!axp192_found && sonde.fingerprint == 31)
|
if (!axp192_found && sonde.fingerprint == 31)
|
||||||
{
|
{
|
||||||
xSemaphoreTake(axpSemaphore, portMAX_DELAY);
|
xSemaphoreTake(axpSemaphore, portMAX_DELAY);
|
||||||
|
|
Ładowanie…
Reference in New Issue