File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1+ #pragma once
2+
3+ #include " Arduino_DataBus.h"
4+
15#if defined(TARGET_RP2040) || defined(PICO_RP2350)
26
3- #ifndef _ARDUINO_RPIPICOSPI_H_
4- #define _ARDUINO_RPIPICOSPI_H_
57
68#include < api/HardwareSPI.h>
79#include < hardware/spi.h>
810
9- #include " Arduino_DataBus.h"
10-
1111#ifndef RPIPICOSPI_MAX_PIXELS_AT_ONCE
1212#define RPIPICOSPI_MAX_PIXELS_AT_ONCE 32
1313#endif
@@ -34,7 +34,6 @@ class Arduino_RPiPicoSPI : public Arduino_DataBus
3434 void writeBytes (uint8_t *data, uint32_t len) override ;
3535
3636protected:
37-
3837private:
3938 GFX_INLINE void WRITE (uint8_t d);
4039 GFX_INLINE void WRITE16 (uint16_t d);
@@ -67,5 +66,4 @@ class Arduino_RPiPicoSPI : public Arduino_DataBus
6766 };
6867};
6968
70- #endif // _ARDUINO_RPIPICOSPI_H_
7169#endif // #if defined(TARGET_RP2040) || defined(PICO_RP2350)
You can’t perform that action at this time.
0 commit comments