Skip to content

Commit 8236785

Browse files
committed
removed whitespaces
1 parent 759014a commit 8236785

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/modm/driver/display/ili9341.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class Ili9341 : public Interface, public ColorGraphicDisplay
176176
uint8_t buffer8[15];
177177
uint16_t buffer16[3];
178178
ili9341_register::MemoryAccessCtrl_t madCtrl;
179-
179+
180180
// Parallel use in resumable function
181181
// No overlap permitted!
182182
struct {

src/modm/driver/display/ili9341_impl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Ili9341<Interface, Reset, BufferSize>::initialize()
5353
RF_CALL(this->writeCommand(Command::VComCtrl2, 0xb7));
5454
// constexpr uint8_t pumpRatioCtrl[] { 0x20 };
5555
RF_CALL(this->writeCommand(Command::PixelFormatSet, 0x55));
56-
56+
5757
MODM_INIT_BUFFER({0x00, 0x1a})
5858
RF_CALL(this->writeCommand(Command::FrameCtrlNormalMode, buffer8, 2));
5959

@@ -305,7 +305,7 @@ Ili9341<Interface, Reset, BufferSize>::fill(
305305
RF_CALL(setClipping(p.intersection.topLeft, p.intersection.bottomRight));
306306

307307
p.write_pixels = p.intersection.getPixelCount();
308-
308+
309309
while (true)
310310
{
311311
if (p.write_pixels > BufferSize)

src/modm/driver/display/ili9341_interface_spi.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class Ili9341InterfaceSpi : public ili9341_register, public modm::SpiDevice< Spi
138138
readData(Command command)
139139
{
140140
RF_BEGIN();
141-
141+
142142
RF_WAIT_UNTIL(this->acquireMaster());
143143
Cs::reset();
144144

@@ -147,7 +147,7 @@ class Ili9341InterfaceSpi : public ili9341_register, public modm::SpiDevice< Spi
147147
Dc::set();
148148

149149
read = RF_CALL(SpiMaster::transfer(0x00)).getResult();
150-
150+
151151
if (this->releaseMaster())
152152
Cs::set();
153153

src/modm/driver/display/ili9341_register.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct ili9341_register
2929
{
3030
Nop = 0x00,
3131
SwReset = 0x01,
32-
32+
3333
GammaSet = 0x26,
3434
ColumnAddressSet = 0x2A,
3535
PageAddressSet = 0x2B,
@@ -39,7 +39,7 @@ struct ili9341_register
3939

4040
PartialMode = 0x12,
4141
NormalMode = 0x13,
42-
42+
4343
PartialArea = 0x30,
4444
VerticalScrollDefinition = 0x33,
4545
MemoryAccessCtrl = 0x36,
@@ -50,7 +50,7 @@ struct ili9341_register
5050
ReadMemoryContinue = 0x3E,
5151
SetTearScanLine = 0x44,
5252
GetScanLine = 0x45,
53-
53+
5454
// Extended
5555
RgbInterfaceSignalCtrl = 0xB0,
5656
FrameCtrlNormalMode = 0xB1,
@@ -90,7 +90,7 @@ struct ili9341_register
9090
enum class ReadCommand : uint8_t {
9191
// TODO got 0s only for each of ReadId*
9292
Id = 0x04, // returns 4 bytes
93-
Id1 = 0xDA,
93+
Id1 = 0xDA,
9494
Id2 = 0xDB,
9595
Id3 = 0xDC,
9696
Id4 = 0xD3,

0 commit comments

Comments
 (0)