1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 20:06:40 +00:00

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);
}