Skip to content

Commit

Permalink
Modify ststem_ticks function
Browse files Browse the repository at this point in the history
  • Loading branch information
max190113 committed Aug 2, 2021
1 parent 2bc712a commit a761b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tuya-iot-link-sdk/port/system_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ void system_free(void *ptr)

uint32_t system_ticks( void )
{
TickType_t ticks = xTaskGetTickCount();
TickType_t ticks = xTaskGetTickCount() * portTICK_PERIOD_MS;
return ( uint32_t ) ticks;
}

Expand Down

0 comments on commit a761b1e

Please sign in to comment.