Skip to content

Commit 2f5b03e

Browse files
author
Seppo Takalo
committed
Fix typo that used 16kB for stack.
Intend is to use 2kB for stack, not 16kB, but the divide operand has been forgotten here.
1 parent 8232afa commit 2f5b03e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/FEATURE_COMMON_PAL/nanostack-hal-mbed-cmsis-rtos/arm_hal_timer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <mbed_assert.h>
1313

1414
static osThreadId_t timer_thread_id;
15-
static uint64_t timer_thread_stk[2048];
15+
static uint64_t timer_thread_stk[2048/sizeof(uint64_t)];
1616
static osRtxThread_t timer_thread_tcb;
1717

1818
static Timer timer;

0 commit comments

Comments
 (0)