add cp filter

This commit is contained in:
2026-05-05 17:05:21 +03:00
parent 92c33b2f46
commit 944952689e
11 changed files with 25157 additions and 24892 deletions
+4
View File
@@ -16,11 +16,15 @@ typedef enum {
EV_STATE_ACQUIRING = 6,
} CP_State_t;
extern CP_State_t cp_state_buffer;
void CP_Init(void);
void CP_SetDuty(uint8_t percentage);
uint8_t CP_GetDuty(void);
int32_t CP_GetVoltage(void);
CP_State_t CP_GetState(void);
CP_State_t CP_GetFilteredState(void);
void CP_FilterState(void);
void CP_Loop(void);
#endif
+1 -1
View File
@@ -43,7 +43,7 @@ extern "C" {
/* USER CODE BEGIN EC */
#define FW_VERSION_MAJOR 1
#define FW_VERSION_MINOR 0
#define FW_VERSION_PATCH 15
#define FW_VERSION_PATCH 16
/* USER CODE END EC */
/* Exported macro ------------------------------------------------------------*/