mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 17:03:34 +08:00
muorb: improve comment
This commit is contained in:
@@ -111,9 +111,8 @@ int calc_timer_diff_to_dsp_us(int32_t *time_diff_us)
|
|||||||
return -3;
|
return -3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The clock count needs to get converted to us. The clock supposedly
|
// The clock count needs to get converted to us.
|
||||||
// runs at just under 20 MHz. The magic value of 19.2 was provided by
|
// The magic value of 19.2 was provided by Qualcomm.
|
||||||
// Qualcomm.
|
|
||||||
time_dsp /= 19.2;
|
time_dsp /= 19.2;
|
||||||
|
|
||||||
// Before casting to in32_t, check if it fits.
|
// Before casting to in32_t, check if it fits.
|
||||||
|
|||||||
Reference in New Issue
Block a user