new LED logic: constant WARNING if VBATT is below 7v
This commit is contained in:
parent
257ed04fac
commit
4e5a69891d
|
@ -10,10 +10,13 @@
|
|||
#pragma once
|
||||
|
||||
#include "global.h"
|
||||
#include "engine_configuration.h"
|
||||
|
||||
#define LOW_VBATT 7
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include "engine_configuration.h"
|
||||
|
||||
float getVRef(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
float getVBatt(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
bool hasVBatt(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
||||
#endif /* __cplusplus */
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "gpio/gpio_ext.h"
|
||||
#include "pin_repository.h"
|
||||
#include "os_util.h"
|
||||
#include "voltage.h"
|
||||
|
||||
EXTERN_ENGINE_CONFIGURATION;
|
||||
|
||||
|
|
Loading…
Reference in New Issue