mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
Fixes #1223
This commit is contained in:
parent
06064b6da2
commit
2cd66cbc65
2 changed files with 16 additions and 9 deletions
|
@ -1182,6 +1182,7 @@ void evalFunctions();
|
|||
#if defined(CPUARM)
|
||||
#define ACTIVE_PHASES_TYPE uint16_t
|
||||
#define DELAY_POS_SHIFT 0
|
||||
#define DELAY_POS_MARGIN 16
|
||||
#define delayval_t int16_t
|
||||
PACK(typedef struct t_SwOn {
|
||||
uint16_t delay;
|
||||
|
@ -1193,6 +1194,7 @@ PACK(typedef struct t_SwOn {
|
|||
#else
|
||||
#define ACTIVE_PHASES_TYPE uint8_t
|
||||
#define DELAY_POS_SHIFT 10
|
||||
#define DELAY_POS_MARGIN 0
|
||||
#define delayval_t int8_t
|
||||
PACK(typedef struct t_SwOn {
|
||||
uint16_t delay:10;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue