Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/vitotai/BrewPiLess
Browse files Browse the repository at this point in the history
  • Loading branch information
vitotai committed Jul 10, 2019
2 parents 6436127 + 61f566e commit 413f736
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/SpiLcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@
#define LCD_SHIFT_DATA_MASK 0xF0 // Data bits, QE = D4, QF = D5, QG = D6, QH = D7

// Backlight is switched with a P-channel MOSFET, so signal is inverted.
#ifdef BACKLIGHT_AUTO_OFF_PERIOD
#undef BACKLIGHT_AUTO_OFF_PERIOD
#endif
#ifndef BACKLIGHT_AUTO_OFF_PERIOD
#define BACKLIGHT_AUTO_OFF_PERIOD 600
#endif

class SpiLcd : public Print {
public:
Expand Down

0 comments on commit 413f736

Please sign in to comment.