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 9e760bc commit 173a426Copy full SHA for 173a426
src/modm/driver/display/ili9341_spi.hpp.in
@@ -46,8 +46,11 @@ public:
46
writeCommand(Command command, uint8_t const *args, std::size_t length)
47
{
48
Dc::reset(); // enable command
49
- SPI::transferBlocking(i(command));
+ SPI::transfer(i(command));
50
Dc::set(); // reset to data
51
+ %% if spi_16bit_hardware
52
+ SPI::setDataSize(SPI::DataSize::Bit8);
53
+ %% endif
54
if (length != 0)
55
56
%% if spi_16bit_hardware
0 commit comments