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:
Nicolas Tsiftes 2014-06-07 23:21:59 +02:00
commit da8e9a3e8d

View file

@ -85,7 +85,7 @@ typedef unsigned long clock_time_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_GREEN_PIN boardDescription->io->leds[0].gpioPin