kopia lustrzana https://github.com/bristol-seds/pico-tracker
[ubseds16] update battery charging test
rodzic
ec6b4831ef
commit
9d0c02835e
|
@ -71,7 +71,7 @@ void update_use_state(struct tracker_datapoint *dp)
|
||||||
void update_charge_state(struct tracker_datapoint *dp)
|
void update_charge_state(struct tracker_datapoint *dp)
|
||||||
{
|
{
|
||||||
#if RECHARGABLE_BATTERY
|
#if RECHARGABLE_BATTERY
|
||||||
if (dp->solar > dp->battery) { /* power coming in */
|
if (dp->solar > 4.0) { /* power coming in */
|
||||||
/* excess / charging */
|
/* excess / charging */
|
||||||
if (excess_count >= EXCESS_COUNT_MAX) { /* charge */
|
if (excess_count >= EXCESS_COUNT_MAX) { /* charge */
|
||||||
battery_charge_state = BATTERY_CHARGING;
|
battery_charge_state = BATTERY_CHARGING;
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
#include "sequencer.h"
|
#include "sequencer.h"
|
||||||
#include "thermistor.h"
|
#include "thermistor.h"
|
||||||
|
|
||||||
#define CALLSIGN "UBSEDS15"
|
#define CALLSIGN "UBSEDS16"
|
||||||
#define APRS_COMMENT ""
|
#define APRS_COMMENT ""
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Ładowanie…
Reference in New Issue