diff options
Diffstat (limited to 'nuttx/arch/8051/src/up_assert.c')
-rw-r--r-- | nuttx/arch/8051/src/up_assert.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/8051/src/up_assert.c b/nuttx/arch/8051/src/up_assert.c index 5e59d6af0..f1f9bb87f 100644 --- a/nuttx/arch/8051/src/up_assert.c +++ b/nuttx/arch/8051/src/up_assert.c @@ -70,7 +70,7 @@ static void _up_assert(int errorcode) { /* Are we in an interrupt handler or the idle task? */ - if (g_irqtos || ((FAR _TCB*)g_readytorun.head)->pid == 0) + if (g_irqtos || ((FAR struct tcb_s*)g_readytorun.head)->pid == 0) { (void)irqsave(); for(;;) @@ -100,7 +100,7 @@ static void _up_assert(int errorcode) void up_assert(const uint8_t *filename, int lineno) { #if CONFIG_TASK_NAME_SIZE > 0 - _TCB *rtcb = (_TCB*)g_readytorun.head; + struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head; #endif up_ledon(LED_ASSERTION); @@ -124,7 +124,7 @@ void up_assert(const uint8_t *filename, int lineno) void up_assert_code(const uint8_t *filename, int lineno, int errorcode) { #if CONFIG_TASK_NAME_SIZE > 0 - _TCB *rtcb = (_TCB*)g_readytorun.head; + struct tcb_s *rtcb = (struct tcb_s*)g_readytorun.head; #endif up_ledon(LED_ASSERTION); |