[ubseds16] update battery charging test

main-solar-only
Richard Meadows 2016-05-07 15:28:04 +01:00
rodzic ec6b4831ef
commit 9d0c02835e
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -71,7 +71,7 @@ void update_use_state(struct tracker_datapoint *dp)
void update_charge_state(struct tracker_datapoint *dp)
{
#if RECHARGABLE_BATTERY
if (dp->solar > dp->battery) { /* power coming in */
if (dp->solar > 4.0) { /* power coming in */
/* excess / charging */
if (excess_count >= EXCESS_COUNT_MAX) { /* charge */
battery_charge_state = BATTERY_CHARGING;

Wyświetl plik

@ -48,7 +48,7 @@
#include "sequencer.h"
#include "thermistor.h"
#define CALLSIGN "UBSEDS15"
#define CALLSIGN "UBSEDS16"
#define APRS_COMMENT ""
/**