diff --git a/drivers/segger/config/SEGGER_RTT_Conf.h b/drivers/segger/config/SEGGER_RTT_Conf.h index bfab44081f098..19c77700e23e2 100644 --- a/drivers/segger/config/SEGGER_RTT_Conf.h +++ b/drivers/segger/config/SEGGER_RTT_Conf.h @@ -77,16 +77,6 @@ #define SEGGER_RTT_MEMCPY_USE_BYTELOOP 0 -/* RTT lock configuration */ - -/* Lock RTT (nestable) (i.e. disable interrupts) */ - -#define SEGGER_RTT_LOCK() irqstate_t __flags = spin_lock_irqsave(NULL) - -/* Unlock RTT (nestable) (i.e. enable previous interrupt lock state) */ - -#define SEGGER_RTT_UNLOCK() spin_unlock_irqrestore(NULL, __flags) - /* Disable RTT SEGGER_RTT_WriteSkipNoLock */ #define RTT_USE_ASM 0