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 a3aa726 commit 992a650Copy full SHA for 992a650
src/generate/peripheral.rs
@@ -1241,7 +1241,7 @@ fn expand_register(
1241
let mut accessors = Vec::with_capacity((array_info.dim + 1) as _);
1242
let first_name = svd::array::names(info, array_info).next().unwrap();
1243
let note = (array_info.indexes().next().unwrap() != "0").then(||
1244
- format!("<div class=\"warning\">`n` is number of {0} in array. `n == 0` corresponds to `{first_name}` {0}.</div>", "register")
+ format!("<div class=\"warning\">`n` is the index of {0} in the array. `n == 0` corresponds to `{first_name}` {0}.</div>", "register")
1245
);
1246
accessors.push(
1247
Accessor::Array(ArrayAccessor {
0 commit comments