Fixed error from previous commit, renamed chDbgSuspendTrace to chTraceSuspend

This commit is contained in:
zykrahgaming 2022-01-02 00:12:51 +11:00
parent a49fb58fc0
commit 95919e3d57
2 changed files with 2 additions and 4 deletions

View File

@ -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.

View File

@ -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.
*/