@@ -29,10 +29,9 @@ const uint8_t uc8276_default_init_code[] {
29
29
@param BUSY the busy pin to use
30
30
*/
31
31
/* *************************************************************************/
32
- Adafruit_UC8276::Adafruit_UC8276 (int width, int height, int8_t SID,
33
- int8_t SCLK, int8_t DC, int8_t RST,
34
- int8_t CS, int8_t SRCS, int8_t MISO,
35
- int8_t BUSY)
32
+ Adafruit_UC8276::Adafruit_UC8276 (int width, int height, int8_t SID, int8_t SCLK,
33
+ int8_t DC, int8_t RST, int8_t CS, int8_t SRCS,
34
+ int8_t MISO, int8_t BUSY)
36
35
: Adafruit_EPD(width, height, SID, SCLK, DC, RST, CS, SRCS, MISO, BUSY) {
37
36
if ((height % 8 ) != 0 ) {
38
37
height += 8 - (height % 8 );
@@ -69,8 +68,8 @@ Adafruit_UC8276::Adafruit_UC8276(int width, int height, int8_t SID,
69
68
*/
70
69
/* *************************************************************************/
71
70
Adafruit_UC8276::Adafruit_UC8276 (int width, int height, int8_t DC, int8_t RST,
72
- int8_t CS, int8_t SRCS, int8_t BUSY,
73
- SPIClass *spi)
71
+ int8_t CS, int8_t SRCS, int8_t BUSY,
72
+ SPIClass *spi)
74
73
: Adafruit_EPD(width, height, DC, RST, CS, SRCS, BUSY, spi) {
75
74
if ((height % 8 ) != 0 ) {
76
75
height += 8 - (height % 8 );
@@ -169,7 +168,7 @@ void Adafruit_UC8276::powerDown() {
169
168
busy_wait ();
170
169
171
170
// Only deep sleep if we can get out of it
172
- if (_reset_pin >= 0 ) {
171
+ if (_reset_pin >= 0 ) {
173
172
buf[0 ] = 0xA5 ;
174
173
EPD_command (UC8276_DEEPSLEEP, buf, 1 );
175
174
}
@@ -213,6 +212,6 @@ void Adafruit_UC8276::setRAMAddress(uint16_t x, uint16_t y) {
213
212
*/
214
213
/* *************************************************************************/
215
214
void Adafruit_UC8276::setRAMWindow (uint16_t x1, uint16_t y1, uint16_t x2,
216
- uint16_t y2) {
215
+ uint16_t y2) {
217
216
// not used in this chip!
218
217
}
0 commit comments