Skip to content
This repository was archived by the owner on Jan 7, 2019. It is now read-only.

Commit 42837c7

Browse files
Álan Crístoffersalkinium
authored andcommitted
Fix wrong nibble sent to wire
1 parent 6328b4a commit 42837c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/xpcc/driver/display/hd44780_base_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ template <typename Data, typename Enable>
201201
void
202202
xpcc::Hd44780Base<DATA, RW, RS, E>::Bus<Data, Enable, 4>::writeHighNibble(uint8_t data)
203203
{
204-
Bus<DATA, E, 8>::write(data);
204+
Bus<DATA, E, 8>::write(data >> 4);
205205
}
206206

207207
template <typename DATA, typename RW, typename RS, typename E>

0 commit comments

Comments
 (0)