This commit is contained in:
andrea
2026-05-27 22:25:12 +02:00
parent e6eed1fd73
commit 8eef06c31c
58 changed files with 105424 additions and 73515 deletions

View File

@@ -86,7 +86,7 @@ const uint16_t deftab[EE_NUM_VIRTUAL_ADDR]={
1, //twch
0,
0,
0x200,//thanem
0x100,//thanem
20, //tanem
60, //m1pwmMan
70, //m2pwmMan
@@ -125,7 +125,7 @@ const uint16_t deftab[EE_NUM_VIRTUAL_ADDR]={
40,
40,
50,
0x01,//flagpar caricamento parametri
VERSIONE,//flagpar caricamento parametri
};
typedef struct
@@ -463,7 +463,7 @@ void loadEE(void){
EEW_Read(M4TIMEOUTMAN, &m4TimeoutMan);
EEW_Read(THANEM, &thanem);
EEW_Read(TANEM, &thanem);
EEW_Read(TANEM, &tanem);
EEW_Read(M1PWMMAN, &m1pwmMan);
EEW_Read(M2PWMMAN, &m2pwmMan);
EEW_Read(M3PWMMAN, &m3pwmMan);

View File

@@ -30,6 +30,7 @@ typedef enum
EE_STATUS_NO_SPACE
} EE_Status;
#define VERSIONE 0x08 //versione software
/* For compatibility with ST style uint16_t return codes */
#define EE_OK ((uint16_t)EE_STATUS_OK)
#define EE_ERROR ((uint16_t)EE_STATUS_ERROR)

File diff suppressed because it is too large Load Diff