Skip to content

Commit

Permalink
Flip timer function name based on RTOS timer macro. Was backwards.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashed Talukder committed Nov 11, 2021
1 parent 23dd107 commit b7915e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/hal/hal_esp32_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ void atca_delay_us(uint32_t delay)
}

#ifdef ATCA_USE_RTOS_TIMER
void atca_delay_ms_internal(uint32_t msec)
#else
void atca_delay_ms(uint32_t msec)
#else
void atca_delay_ms_internal(uint32_t msec)
#endif
{
ets_delay_us(msec * 1000);
Expand Down

0 comments on commit b7915e5

Please sign in to comment.