From 8293809bd3e5031063062b0a67b6bfb81ce46f1c Mon Sep 17 00:00:00 2001 From: jmartinez-silabs <67972863+jmartinez-silabs@users.noreply.github.com> Date: Mon, 6 Dec 2021 09:23:27 -0500 Subject: [PATCH] Remove weak keyword from ot uart function implemented for matter on efr32 (#12565) --- src/platform/EFR32/ThreadStackManagerImpl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platform/EFR32/ThreadStackManagerImpl.cpp b/src/platform/EFR32/ThreadStackManagerImpl.cpp index 8bb57c3b3ae44b..da08ecfa0f930b 100644 --- a/src/platform/EFR32/ThreadStackManagerImpl.cpp +++ b/src/platform/EFR32/ThreadStackManagerImpl.cpp @@ -116,7 +116,7 @@ extern "C" void otPlatFree(void * aPtr) #include "uart.h" #endif -extern "C" __WEAK otError otPlatUartEnable(void) +extern "C" otError otPlatUartEnable(void) { #ifdef PW_RPC_ENABLED return OT_ERROR_NOT_IMPLEMENTED; @@ -126,7 +126,7 @@ extern "C" __WEAK otError otPlatUartEnable(void) #endif } -extern "C" __WEAK otError otPlatUartSend(const uint8_t * aBuf, uint16_t aBufLength) +extern "C" otError otPlatUartSend(const uint8_t * aBuf, uint16_t aBufLength) { #ifdef PW_RPC_ENABLED return OT_ERROR_NOT_IMPLEMENTED; @@ -140,7 +140,7 @@ extern "C" __WEAK otError otPlatUartSend(const uint8_t * aBuf, uint16_t aBufLeng #endif } -extern "C" __WEAK void efr32UartProcess(void) +extern "C" void efr32UartProcess(void) { #if !defined(PW_RPC_ENABLED) && !defined(ENABLE_CHIP_SHELL) uint8_t tempBuf[128] = { 0 };