fix: removed trailing comma
This commit is contained in:
parent
09613e90de
commit
262518cfe5
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ impl rtos_trace::RtosTraceOSCallbacks for Executor {
|
||||||
#[cfg(feature = "integrated-timers")]
|
#[cfg(feature = "integrated-timers")]
|
||||||
fn time() -> u64 {
|
fn time() -> u64 {
|
||||||
const GCD_1M: u64 = gcd(embassy_time_driver::TICK_HZ, 1_000_000);
|
const GCD_1M: u64 = gcd(embassy_time_driver::TICK_HZ, 1_000_000);
|
||||||
embassy_time_driver::now() * (1_000_000 / GCD_1M) / (embassy_time_driver::TICK_HZ / GCD_1M);
|
embassy_time_driver::now() * (1_000_000 / GCD_1M) / (embassy_time_driver::TICK_HZ / GCD_1M)
|
||||||
}
|
}
|
||||||
#[cfg(not(feature = "integrated-timers"))]
|
#[cfg(not(feature = "integrated-timers"))]
|
||||||
fn time() -> u64 {
|
fn time() -> u64 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue