1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 00:05:17 +03:00
This commit is contained in:
bsongis 2014-06-12 10:25:33 +02:00
parent 06064b6da2
commit 2cd66cbc65
2 changed files with 16 additions and 9 deletions

View file

@ -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;