Skip to content

Commit

Permalink
Switch to portTickType instead of TickType_t
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxineMuster authored Jan 10, 2025
1 parent eb5b1ca commit a419f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/drv_ds1820_simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ void DS1820_OnEverySecond()
// if all is well, it should take 50ms and 100ms
// if not, we need to "calibrate" the loop
int tempsleep = 5000;
int actTick = portTICK_RATE_MS * xTaskGetTickCount();
portTickType actTick = portTICK_RATE_MS * xTaskGetTickCount();
usleepds(tempsleep);
int duration = (int)(portTICK_RATE_MS * xTaskGetTickCount() - actTick);

Expand Down

0 comments on commit a419f5c

Please sign in to comment.