mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-07 02:05:33 +00:00
Merge pull request #655 from atiselsts/stm32_patches
Fix inconsistent usage of short/long integer type in mbxxx platform's configuration file.
This commit is contained in:
commit
da8e9a3e8d
@ -85,7 +85,7 @@ typedef unsigned long clock_time_t;
|
|||||||
|
|
||||||
typedef unsigned long rtimer_clock_t;
|
typedef unsigned long rtimer_clock_t;
|
||||||
|
|
||||||
#define RTIMER_CLOCK_LT(a,b) ((signed short)((a)-(b)) < 0)
|
#define RTIMER_CLOCK_LT(a,b) ((signed long)((a)-(b)) < 0)
|
||||||
|
|
||||||
#define LEDS_CONF_RED_PIN boardDescription->io->leds[1].gpioPin
|
#define LEDS_CONF_RED_PIN boardDescription->io->leds[1].gpioPin
|
||||||
#define LEDS_CONF_GREEN_PIN boardDescription->io->leds[0].gpioPin
|
#define LEDS_CONF_GREEN_PIN boardDescription->io->leds[0].gpioPin
|
||||||
|
Loading…
Reference in New Issue
Block a user