We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef06820 commit 0dfd02aCopy full SHA for 0dfd02a
1 file changed
targets/core/nxp/lpc175x/dma.hpp
@@ -130,7 +130,7 @@ namespace klib::core::lpc175x::io {
130
target::io::power_control::enable<Dma>();
131
132
// enable the dma controller with the endianness
133
- Dma::port->CONFIG = 0x1 | ((Endian == std::endian::little) << 1);
+ Dma::port->CONFIG = 0x1 | ((Endian != std::endian::little) << 1);
134
135
// wait until the dma controller is enabled
136
while (!(Dma::port->CONFIG & 0x1)) {
0 commit comments