mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Fix warning in LimbUtil.h
This commit is contained in:
parent
1281350bd1
commit
8b89c1fbb5
@ -57,7 +57,7 @@
|
|||||||
#define LIMB_PAIR(x,y) LIMB((x)), LIMB((y))
|
#define LIMB_PAIR(x,y) LIMB((x)), LIMB((y))
|
||||||
#elif BIGNUMBER_LIMB_16BIT
|
#elif BIGNUMBER_LIMB_16BIT
|
||||||
#define LIMB(value) ((uint16_t)(value)), \
|
#define LIMB(value) ((uint16_t)(value)), \
|
||||||
((uint16_t)((value) >> 16))
|
((uint16_t)(((uint32_t)(value)) >> 16))
|
||||||
#define LIMB_PAIR(x,y) LIMB((x)), LIMB((y))
|
#define LIMB_PAIR(x,y) LIMB((x)), LIMB((y))
|
||||||
#elif BIGNUMBER_LIMB_32BIT
|
#elif BIGNUMBER_LIMB_32BIT
|
||||||
#define LIMB(value) (value)
|
#define LIMB(value) (value)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user