Skip to content

Commit

Permalink
Revert "Better support for LCD 2004A 20x4 arendst#8062"
Browse files Browse the repository at this point in the history
This reverts commit f1ed412.

Revert to remove unwanted commit, bringing back to match upstream HEAD
  • Loading branch information
tthk committed Apr 10, 2020
1 parent 60e45bc commit 6da4ec4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,3 @@ script:
- platformio run -e $ENV
before_deploy:
- for file in .pioenvs/*/firmware.bin; do cp $file ${file%/*}.bin; done


2 changes: 0 additions & 2 deletions tasmota/my_user_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,6 @@
// #define USE_DISPLAY // Add I2C Display Support (+2k code)
#define USE_DISPLAY_MODES1TO5 // Enable display mode 1 to 5 in addition to mode 0
#define USE_DISPLAY_LCD // [DisplayModel 1] [I2cDriver3] Enable Lcd display (I2C addresses 0x27 and 0x3F) (+6k code)
#define USE_DISPLAY_LCD_ROWS 4 // Rows of display
#define USE_DISPLAY_LCD_COLS 20 // Columns of display
#define USE_DISPLAY_SSD1306 // [DisplayModel 2] [I2cDriver4] Enable SSD1306 Oled 128x64 display (I2C addresses 0x3C and 0x3D) (+16k code)
#define USE_DISPLAY_MATRIX // [DisplayModel 3] [I2cDriver5] Enable 8x8 Matrix display (I2C adresseses see below) (+11k code)
#define MTX_ADDRESS1 0x71 // [DisplayAddress1] I2C address of first 8x8 matrix module
Expand Down
9 changes: 0 additions & 9 deletions tasmota/settings.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1087,18 +1087,9 @@ void SettingsDefaultSet2(void)
// Settings.display_model = 0;
Settings.display_mode = 1;
Settings.display_refresh = 2;
#ifdef USE_DISPLAY_LCD_ROWS
Settings.display_rows = USE_DISPLAY_LCD_ROWS;
#else
Settings.display_rows = 2;
#endif
#ifdef USE_DISPLAY_LCD_COLS
Settings.display_cols[0] = USE_DISPLAY_LCD_COLS;
Settings.display_cols[1] = USE_DISPLAY_LCD_COLS/2;
#else
Settings.display_cols[0] = 16;
Settings.display_cols[1] = 8;
#endif
Settings.display_dimmer = 1;
Settings.display_size = 1;
Settings.display_font = 1;
Expand Down

0 comments on commit 6da4ec4

Please sign in to comment.