aboutsummaryrefslogtreecommitdiffstats
path: root/test/nil/test_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nil/test_root.c')
-rw-r--r--test/nil/test_root.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/nil/test_root.c b/test/nil/test_root.c
index 12ae7ef52..4ea4458b2 100644
--- a/test/nil/test_root.c
+++ b/test/nil/test_root.c
@@ -51,7 +51,7 @@ thread_reference_t gtr1;
*/
THD_WORKING_AREA(wa_test_support, 128);
THD_FUNCTION(test_support, arg) {
-#if NIL_CFG_USE_EVENTS == TRUE
+#if CH_CFG_USE_EVENTS == TRUE
thread_t *tp = (thread_t *)arg;
#else
(void)arg;
@@ -68,7 +68,7 @@ THD_FUNCTION(test_support, arg) {
chSemSignalI(&gsem1);
chSemResetI(&gsem2, 0);
chThdResumeI(&gtr1, MSG_OK);
-#if NIL_CFG_USE_EVENTS == TRUE
+#if CH_CFG_USE_EVENTS == TRUE
chEvtSignalI(tp, 0x55);
#endif
chSchRescheduleS();