From 95919e3d5724978b67ae11969eeb380f94cc88b3 Mon Sep 17 00:00:00 2001 From: zykrahgaming Date: Sun, 2 Jan 2022 00:12:51 +1100 Subject: [PATCH] Fixed error from previous commit, renamed chDbgSuspendTrace to chTraceSuspend --- testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/main.c | 3 +-- testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/main.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/main.c b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/main.c index 3b0e76fb..4445f261 100644 --- a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/main.c +++ b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/EFL/main.c @@ -16,7 +16,6 @@ #include "hal.h" #include "shcfg.h" -#include "chtrace.h" const SerialConfig shell_serial_cfg = { @@ -63,7 +62,7 @@ int main(void) */ OnboardLED_Off(); - chDbgSuspendTrace(CH_DBG_TRACE_MASK_SWITCH); + chTraceSuspend(CH_DBG_TRACE_MASK_SWITCH); /* * Activates the serial driver. diff --git a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/main.c b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/main.c index da975559..4cafe4ad 100644 --- a/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/main.c +++ b/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/main.c @@ -16,7 +16,6 @@ */ #include "hal.h" #include "usbcfg.h" -#include "chtrace.h" /* * Onboard LED blinker thread, times are in milliseconds. @@ -56,7 +55,7 @@ int main(void) */ OnboardLED_Off(); - chDbgSuspendTrace(CH_DBG_TRACE_MASK_SWITCH); + chTraceSuspend(CH_DBG_TRACE_MASK_SWITCH); /* * Initializes a USB HID driver. */