Updated to latest libopeninv

This commit is contained in:
johannes
2023-12-15 17:56:07 +01:00
parent 7de1ca7d1d
commit b4029be7a0
9 changed files with 78 additions and 170 deletions
+2 -2
View File
@@ -18,12 +18,12 @@
*/
#ifndef CHARGERCAN_H
#define CHARGERCAN_H
#include "stm32_can.h"
#include "canmap.h"
class ChargerCAN
{
public:
static void MapMessages(Can* can);
static void MapMessages(CanMap* can);
protected:
+1 -1
View File
@@ -2,7 +2,7 @@
#define HWDEFS_H_INCLUDED
#define RCC_CLOCK_SETUP rcc_clock_setup_in_hse_8mhz_out_72mhz
#define RCC_CLOCK_SETUP() rcc_clock_setup_pll(&rcc_hse_configs[RCC_CLOCK_HSE8_72MHZ])
//Address of parameter block in flash
#define FLASH_PAGE_SIZE 1024
+4 -5
View File
@@ -39,7 +39,7 @@
*/
//Define a version string of your firmware here
#define VER 1.17.R
#define VER 1.18.R
/* Entries must be ordered as follows:
1. Saveable parameters (id != 0)
@@ -107,10 +107,9 @@
VALUE_ENTRY(c3iac, "A", 2034 ) \
VALUE_ENTRY(c3udc, "V", 2035 ) \
VALUE_ENTRY(c3idc, "A", 2036 ) \
VALUE_ENTRY(test_time, "s", 2037 ) \
VALUE_ENTRY(test_timer_flag, "X", 2038 ) \
VALUE_ENTRY(test_timer_icvalue, "X", 2039 ) \
// TODO: How to hide this in interface?
VALUE_ENTRY(test_time, "s", 3000 ) \
VALUE_ENTRY(test_timer_flag, "X", 3001 ) \
VALUE_ENTRY(test_timer_icvalue, "X", 3002 ) \
/***** Enum String definitions *****/