@@ -52,7 +52,7 @@ modm::Ili9341<Interface, Reset, RB>::initialize()
5252 RF_CALL (this ->writeCommand (Command::VComCtrl2, 0xb7 ));
5353 // constexpr uint8_t pumpRatioCtrl[] { 0x20 };
5454 RF_CALL (this ->writeCommand (Command::PixelFormatSet, 0x55 ));
55-
55+
5656 MODM_INIT_BUFFER ({0x00 , 0x1a })
5757 RF_CALL (this ->writeCommand (Command::FrameCtrlNormalMode, buff_cmd8, 2 ));
5858
@@ -247,7 +247,7 @@ modm::Ili9341<Interface, Reset, RB>::writeBuffer(
247247
248248 if constexpr (std::max (RB::W, RB::H) > 240 ) {
249249 if (R::W > this ->getWidth () ) {
250- // writeBuffer(buffer, origin) can handle off-canvas drawing
250+ // writeBuffer(buffer, origin) can handle off-canvas drawing
251251 RF_CALL (writeBuffer (buffer, {0 , 0 }));
252252 RF_RETURN ();
253253 }
@@ -272,7 +272,7 @@ modm::Ili9341<Interface, Reset, RB>::writeBuffer(
272272 RF_BEGIN ();
273273
274274 p.intersection = this ->getIntersection (Rectangle (origin, R::asPoint ()));
275-
275+
276276 RF_CALL (setClipping (p.intersection ));
277277 // FIXME involve p.intersection
278278 RF_CALL (this ->writeData (this ->getPlainBuffer (buffer), p.intersection .getPixels () * 2 ));
@@ -298,7 +298,7 @@ modm::Ili9341<Interface, Reset, RB>::writeBuffer(
298298 {
299299 // Convert tile
300300 p.bufferRgb565 .writeBuffer (buffer, -p.bufferRgb565_pos );
301-
301+
302302 // Transfer tile
303303 RF_CALL (writeBuffer (p.bufferRgb565 , origin + p.bufferRgb565_pos ));
304304 // Transfer tile alternative:
@@ -325,13 +325,13 @@ modm::ResumableResult<void>
325325modm::Ili9341<Interface, Reset, RB>::drawFlash(modm::accessor::Flash<uint8_t > data,
326326 uint16_t width, uint16_t height, shape::Point origin) {
327327 RF_BEGIN ();
328-
328+
329329 (void )data;
330330 (void )width;
331331 (void )height;
332- (void )origin;
332+ (void )origin;
333333
334- RF_END ();
334+ RF_END ();
335335}
336336
337337// ---------------------------------------------------------------------------
@@ -369,7 +369,7 @@ modm::ResumableResult<void>
369369modm::Ili9341<Interface, Reset, RB>::drawFast(Area area)
370370{
371371 RF_BEGIN ();
372-
372+
373373 p.write_pixels = area.getPixels ();
374374 RF_CALL (setClipping (area));
375375
0 commit comments