Skip to content

Commit

Permalink
PeriodTicks uint32_t -> uint64_t fix #2071
Browse files Browse the repository at this point in the history
  • Loading branch information
GianfrancoIU1JSU committed Jul 16, 2023
1 parent 4c5ac62 commit 8099328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/SrcWrapper/src/HardwareTimer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ uint32_t HardwareTimer::getOverflow(TimerFormat_t format)
void HardwareTimer::setOverflow(uint64_t overflow, TimerFormat_t format)
{
uint32_t ARR_RegisterValue;
uint32_t PeriodTicks;
uint64_t PeriodTicks;
uint32_t Prescalerfactor;
uint32_t period_cyc;
// Remark: Hardware register correspond to period count-1. Example ARR register value 9 means period of 10 timer cycle
Expand Down

0 comments on commit 8099328

Please sign in to comment.