Skip to content

Commit a1fb51c

Browse files
committed
RTX5: uVisor: Remove static from svcRtxKernelUnlock/Lock to support uVisor
1 parent 2f7a841 commit a1fb51c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rtos/TARGET_CORTEX/rtx5/RTX/Source/rtx_kernel.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ static osStatus_t svcRtxKernelStart (void) {
293293

294294
/// Lock the RTOS Kernel scheduler.
295295
/// \note API identical to osKernelLock
296-
static int32_t svcRtxKernelLock (void) {
296+
int32_t svcRtxKernelLock (void) {
297297
int32_t lock;
298298

299299
switch (osRtxInfo.kernel.state) {
@@ -316,7 +316,7 @@ static int32_t svcRtxKernelLock (void) {
316316

317317
/// Unlock the RTOS Kernel scheduler.
318318
/// \note API identical to osKernelUnlock
319-
static int32_t svcRtxKernelUnlock (void) {
319+
int32_t svcRtxKernelUnlock (void) {
320320
int32_t lock;
321321

322322
switch (osRtxInfo.kernel.state) {

0 commit comments

Comments
 (0)