diff options
Diffstat (limited to 'demos/LPC21xx')
| -rw-r--r-- | demos/LPC21xx/RT-LPC214x-OLIMEX/main.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c b/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c index ca271023a..761a7257d 100644 --- a/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c +++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/main.c @@ -16,7 +16,7 @@  #include "ch.h"
  #include "hal.h"
 -#include "test.h"
 +#include "ch_test.h"
  #define BOTH_BUTTONS (PAL_PORT_BIT(PA_BUTTON1) | PAL_PORT_BIT(PA_BUTTON2))
 @@ -90,7 +90,7 @@ int main(void) {      if (!palReadPad(IOPORT1, PA_BUTTON1))
        sdWrite(&SD1, (uint8_t *)"Hello World!\r\n", 14);
      if (!palReadPad(IOPORT1, PA_BUTTON2))
 -      TestThread(&SD1);
 +      test_execute((BaseSequentialStream *)&SD1);
      chThdSleepMilliseconds(500);
    }
    return 0;
  | 
