Change ESCvar member datatypes
* Align ESCvar.Alevent with ESC HW. Legacy it was 16-bit to be used with 2-byte mode SPI transfers that returned 0x220-0x221. * Increase size for fragments variables to avoid conversion warnings when counting mailbox data size. ESCvar.frags and ESCvar.fragsleft.pull/149/head
parent
97472108e3
commit
60e397aebc
|
@ -489,8 +489,8 @@ typedef struct
|
||||||
uint8_t segmented;
|
uint8_t segmented;
|
||||||
void *data;
|
void *data;
|
||||||
uint16_t entries;
|
uint16_t entries;
|
||||||
uint16_t frags;
|
uint32_t frags;
|
||||||
uint16_t fragsleft;
|
uint32_t fragsleft;
|
||||||
uint16_t index;
|
uint16_t index;
|
||||||
uint8_t subindex;
|
uint8_t subindex;
|
||||||
uint16_t flags;
|
uint16_t flags;
|
||||||
|
@ -506,7 +506,7 @@ typedef struct
|
||||||
/* Volatile since it may be read from ISR */
|
/* Volatile since it may be read from ISR */
|
||||||
volatile int watchdogcnt;
|
volatile int watchdogcnt;
|
||||||
volatile uint32_t Time;
|
volatile uint32_t Time;
|
||||||
volatile uint16_t ALevent;
|
volatile uint32_t ALevent;
|
||||||
volatile int8_t synccounter;
|
volatile int8_t synccounter;
|
||||||
volatile _App App;
|
volatile _App App;
|
||||||
uint8_t mbxdata[PREALLOC_BUFFER_SIZE];
|
uint8_t mbxdata[PREALLOC_BUFFER_SIZE];
|
||||||
|
|
Loading…
Reference in New Issue