tests: some hwtimer cosmetics

This commit is contained in:
Oleg Hahm 2015-07-07 10:25:25 +02:00
parent 9a9d294a0d
commit 50fce32ea1

View File

@ -27,8 +27,9 @@
#define BASE_DELAY (1000UL * 1000UL) #define BASE_DELAY (1000UL * 1000UL)
#define END_DELAY (BASE_DELAY + ((HWTIMER_MAXTIMERS - 1) * DELTA_DELAY)) #define END_DELAY (BASE_DELAY + ((HWTIMER_MAXTIMERS - 1) * DELTA_DELAY))
#define DELTA_DELAY (10UL * 1000UL) #define DELTA_DELAY (10UL * 1000UL)
#define MSGLEN 12 // == strlen("callback %2i") #define MSGLEN (12) /* == strlen("callback %2i") */
char msg[MSGLEN * HWTIMER_MAXTIMERS]; // == [callback 1\0callback 2\0...]
char msg[MSGLEN * HWTIMER_MAXTIMERS]; /* == [callback 1\0callback 2\0...] */
void callback(void *ptr) void callback(void *ptr)
{ {