contiki/platform/mbxxx
Atis Elsts 7dcfe77fba Fix inconsistent usage of short/long integer type in mbxxx platform's configuration file.
The type used to store rtimer ticks on this platform is 32-bit integer, but the macro uses 16-bit comparison.
As a result, the output of the RTIMER_CLOCK_LT(a,b) macro was incorrect when used for comparisons between time values with sufficiently large difference.
The code to repeat this problem on mbxxx platform:

  rtimer_clock_t a = 6 * RTIMER_ARCH_SECOND;
  rtimer_clock_t b = 0;
  printf("%d\n", RTIMER_CLOCK_LT(a,b)); // expected output: "0", actual: "1"
2014-04-22 14:52:50 +02:00
..
apps A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
dev mbxxx eeprom driver 2013-11-27 15:40:07 +01:00
board.c Merge pull request #477 from MariaLauraStefanizzi/eeprom 2013-12-02 09:20:14 -08:00
board.h Merge pull request #387 from chrta/mb950_1_rev_B 2013-12-02 09:11:50 -08:00
clock.c Updated the path to uip-debug.h 2014-01-26 23:20:41 +01:00
contiki-conf.h Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
contiki-init-net.c
contiki-init-net.h A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
contiki-main.c Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
Makefile.mbxxx Add the explicit list of modules, since we cannot do auto-dependency management of them 2014-01-26 23:20:47 +01:00
platform-conf.h Fix inconsistent usage of short/long integer type in mbxxx platform's configuration file. 2014-04-22 14:52:50 +02:00