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 e0a0d97 commit 9179c36Copy full SHA for 9179c36
targets/core/cypress/mb9bf560l/port.hpp
@@ -586,7 +586,7 @@ namespace klib::core::mb9bf560l::io::detail::pins {
586
);
587
588
// always disable analog mode if we are not switching to analog mode
589
- if (!std::is_same_v<Periph, io::detail::alternate::analog>) {
+ if constexpr (!std::is_same_v<Periph, io::detail::alternate::analog>) {
590
// disable the analog mode if it is available on the pin
591
if constexpr (has_analog) {
592
// disable the analog mode
0 commit comments