исправил определение константы чтобы убрать ворнинг

This commit is contained in:
seklyuts 2024-09-06 08:49:59 +03:00
parent 57dca5e05a
commit 967dd048ee

View File

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