Skip to content

Commit cef063c

Browse files
committed
fixed comment lpc55s66 port digimode
1 parent cf1580a commit cef063c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/chip/lpc55s66/io/port.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,11 @@ namespace klib::lpc55s66::io::detail::pins {
172172

173173
// set or clear based on the value
174174
if constexpr (Enabled) {
175-
// set the open drain mode
175+
// set the digimode bit
176176
(*pin_select) = (*pin_select) | 0x1 << 8;
177177
}
178178
else {
179-
// clear the open drain bit
179+
// clear the digimode bit
180180
(*pin_select) = ((*pin_select) & ~(0x1 << 8));
181181
}
182182
}

0 commit comments

Comments
 (0)