@@ -212,7 +212,7 @@ void setup()
212212#if defined(AXP_DEBUG)
213213 unsigned long int m = millis ();
214214 lora_log.printf (" t=%d.%03d battery=%.04gV\n " , m/1000 , m%1000 ,
215- axp. getBattVoltage ()/ 1000 );
215+ getBattVoltage ());
216216 next_log_battery = m + LOG_BATTERY_INTERVAL ;
217217#endif
218218 lora_log.printf (" millis,batt,utc,mac,lat,lon,ele,plen,prssi,psnr,pfe,rssi\n " );
@@ -431,7 +431,7 @@ void do_io()
431431 unsigned long int now = millis ();
432432 lora_log.printf (" t=%d.%03d " , now/1000 , now%1000 );
433433# if defined(AXP_DEBUG)
434- lora_log.printf (" battery=%.04gV " , axp. getBattVoltage ()/ 1000 );
434+ lora_log.printf (" battery=%.04gV " , getBattVoltage ());
435435# endif
436436 lora_log.printf (" |dmxt|=%d |blbt|=%d |feeds|=%d |entries|=%d |chunks|=%d |freeHeap|=%dXX\r\n " ,
437437 dmx->dmxt_cnt , dmx->blbt_cnt , repo->rplca_cnt , repo->entry_cnt , repo->chunk_cnt , ESP .getFreeHeap ());
@@ -498,7 +498,7 @@ void do_io()
498498 sprintf (stat_line + strlen (stat_line)-1 , " %d" , lora_cnt);
499499#else
500500 sprintf (stat_line + strlen (stat_line)-1 , " %d, batt:%.04g" ,
501- lora_cnt, axp. getBattVoltage ()/ 1000 );
501+ lora_cnt, getBattVoltage ());
502502#endif
503503 ble_send_stats ((unsigned char *) stat_line, strlen (stat_line));
504504#endif
0 commit comments