disable ss_oled changes until lib is fixed

This commit is contained in:
Verkehrsrot 2019-12-15 18:21:02 +01:00
parent a2274cda2c
commit 0741e4c1ab
2 changed files with 5 additions and 10 deletions

View File

@ -7,7 +7,7 @@
; ---> SELECT THE TARGET PLATFORM HERE! <---
[board]
halfile = generic.h
;halfile = generic.h
;halfile = ebox.h
;halfile = eboxtube.h
;halfile = ecopower.h
@ -18,7 +18,7 @@ halfile = generic.h
;halfile = ttgov21old.h
;halfile = ttgov21new.h
;halfile = ttgofox.h
;halfile = ttgobeam.h
halfile = ttgobeam.h
;halfile = ttgobeam10.h
;halfile = fipy.h
;halfile = lopy.h
@ -58,8 +58,8 @@ lib_deps_lora =
;MCCI LoRaWAN LMIC library@>=3.1.0
https://github.com/mcci-catena/arduino-lmic.git#5322dd1
lib_deps_display =
;ss_oled@>=3.1.0
https://github.com/bitbank2/ss_oled.git#26f5d40
ss_oled@=3.0.0
;https://github.com/bitbank2/ss_oled.git#26f5d40
BitBang_I2C@>=1.2.0
QRCode@>=0.0.1
lib_deps_matrix_display =

View File

@ -56,12 +56,7 @@ static const char TAG[] = __FILE__;
const char *printmonth[] = {"xxx", "Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
uint8_t DisplayIsOn = 0;
#ifdef USE_BACKBUFFER
static uint8_t displaybuf[DISPLAY_WIDTH * DISPLAY_HEIGHT / 8] = {0};
#else
static uint8_t *displaybuf = NULL;
#endif
QRCode qrcode;
@ -88,7 +83,7 @@ void init_display(bool verbose) {
#endif
// set display buffer
oledSetBackBuffer(displaybuf);
//oledSetBackBuffer(displaybuf);
// clear display
oledSetContrast(DISPLAYCONTRAST);