boot: fix pinmux init off-by-one

This commit is contained in:
Michael Scire 2019-08-29 00:18:40 -07:00
parent 600d68bd1a
commit 6ee8720028

View File

@ -70,7 +70,7 @@ namespace sts::pinmux {
std::abort();
}
for (size_t i = 0; i < num_configs - 1; i++) {
for (size_t i = 0; i < num_configs; i++) {
UpdatePad(configs[i].name, configs[i].val, configs[i].mask);
}