исправил определение константы чтобы убрать ворнинг
This commit is contained in:
parent
57dca5e05a
commit
967dd048ee
@ -186,7 +186,7 @@ int16_t bissSpeed;
|
||||
|
||||
|
||||
const uint16_t SUMMTURN = (SINGLETURN + MULTITURN);//29
|
||||
const uint16_t ANGLESUMM_SHIFT = (64 - SUMMTURN);//35
|
||||
const uint16_t ANGLESUMM_SHIFT = (64 - (SINGLETURN + MULTITURN));//35
|
||||
const uint32_t MASK_SINGLETURN = (((uint64_t)1<<SINGLETURN)-1);//
|
||||
const uint16_t ANGLE16bit_SHIFT= (SINGLETURN - 16);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user