Skip to content

Commit

Permalink
Merge pull request #1 from max190113/power_PR
Browse files Browse the repository at this point in the history
Modify ststem_ticks function
  • Loading branch information
0x1abin authored Aug 3, 2021
2 parents 2bc712a + a761b1e commit 17628d6
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 17628d6

Please sign in to comment.