mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 03:03:37 +08:00
arch_alarm: don't init local variable for fpu test case fail
D16 register will be cleared when compiling with gcc on some boards. Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
This commit is contained in:
@@ -319,7 +319,7 @@ int weak_function up_alarm_tick_start(clock_t ticks)
|
||||
|
||||
if (g_oneshot_lower != NULL)
|
||||
{
|
||||
clock_t now = 0;
|
||||
clock_t now;
|
||||
clock_t delta;
|
||||
|
||||
ONESHOT_TICK_CURRENT(g_oneshot_lower, &now);
|
||||
|
||||
Reference in New Issue
Block a user