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 644e4f3 commit 5e5b81fCopy full SHA for 5e5b81f
src/rcc.rs
@@ -402,6 +402,8 @@ pub(crate) struct PllConfig {
402
/// Determine the [greatest common divisor](https://en.wikipedia.org/wiki/Greatest_common_divisor)
403
///
404
/// This function is based on the [Euclidean algorithm](https://en.wikipedia.org/wiki/Euclidean_algorithm).
405
+// TODO(Sh3Rm4n): As num-traits is a indirecty dependecy of this crate through embedded-time,
406
+// use its implementation instead.
407
fn gcd(mut a: u32, mut b: u32) -> u32 {
408
while b != 0 {
409
let r = a % b;
0 commit comments