We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9874aa1 commit d300a31Copy full SHA for d300a31
devices/floppy/swim3.cpp
@@ -400,7 +400,7 @@ void Swim3Ctrl::init_timer(const uint8_t start_val)
400
this->one_us_timer_start = TimerManager::get_instance()->current_time_ns();
401
402
this->one_us_timer_id = TimerManager::get_instance()->add_oneshot_timer(
403
- this->timer_val * NS_PER_USEC,
+ uint32_t(this->timer_val) * NS_PER_USEC,
404
[this]() {
405
this->timer_val = 0;
406
this->int_flags |= INT_TIMER_DONE;
0 commit comments