Fixes
This commit is contained in:
@@ -88,12 +88,14 @@ public:
|
||||
/// @return available current in milliamps
|
||||
static float getMax3V3Current();
|
||||
|
||||
/// @brief update Power State
|
||||
/// @note needs to be public for task creation
|
||||
static void updatePowerStateHandler();
|
||||
|
||||
protected:
|
||||
/// @brief PowerScheduler instance to manage power consumption
|
||||
static PowerScheduler *powerScheduler;
|
||||
|
||||
/// @brief update Power State
|
||||
static void updatePowerStateHandler();
|
||||
|
||||
/*
|
||||
* Power State
|
||||
@@ -115,6 +117,9 @@ protected:
|
||||
|
||||
/// @brief Add calculated value to circular array, pushing out oldest value
|
||||
static void addSoCSample(float soc);
|
||||
|
||||
/// @brief initialize the power state
|
||||
static void initPowerState(void);
|
||||
};
|
||||
|
||||
extern Power power;
|
||||
|
||||
Reference in New Issue
Block a user