Skip to content

Commit 324e94d

Browse files
authored
Merge pull request #27 from m5stack/develop
0.0.17
2 parents d49e9e3 + c8409c6 commit 324e94d

File tree

6 files changed

+5
-19
lines changed

6 files changed

+5
-19
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type": "git",
1111
"url": "https://github.com/m5stack/M5GFX.git"
1212
},
13-
"version": "0.0.16",
13+
"version": "0.0.17",
1414
"frameworks": "arduino",
1515
"platforms": "espressif32",
1616
"headers": "M5GFX.h"

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=M5GFX
2-
version=0.0.16
2+
version=0.0.17
33
author=M5Stack
44
maintainer=M5Stack
55
sentence=Library for M5Stack All Display

src/lgfx/boards.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace lgfx // これはm5gfxに変更してはならない;
2424
, board_M5TimerCam
2525
, board_M5StampPico
2626
, board_M5StampC3
27+
, board_M5StampC3U
2728

2829
/// external displays
2930
, board_M5AtomDisplay

src/lgfx/v1/gitTagVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#define LGFX_VERSION_MAJOR 1
22
#define LGFX_VERSION_MINOR 0
3-
#define LGFX_VERSION_PATCH 11
3+
#define LGFX_VERSION_PATCH 12
44
#define LOVYANGFX_VERSION F( LGFX_VERSION_MAJOR "." LGFX_VERSION_MINOR "." LGFX_VERSION_PATCH )

src/lgfx/v1/panel/Panel_SSD1306.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -290,20 +290,6 @@ namespace lgfx
290290

291291
//----------------------------------------------------------------------------
292292

293-
bool Panel_SH110x::init(bool use_reset)
294-
{
295-
if (!Panel_1bitOLED::init(use_reset))
296-
{
297-
return false;
298-
}
299-
300-
startWrite(true);
301-
_bus->writeCommand(CMD_SETMULTIPLEX | (((_cfg.panel_width-1) & 0x7F) << 8), 16);
302-
endWrite();
303-
304-
return true;
305-
}
306-
307293
void Panel_SH110x::setBrightness(uint8_t brightness)
308294
{
309295
startWrite();

src/lgfx/v1/panel/Panel_SSD1306.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ namespace lgfx
135135
_auto_display = true;
136136
}
137137

138-
bool init(bool use_reset) override;
139-
140138
void setBrightness(uint8_t brightness) override;
141139

142140
void display(uint_fast16_t x, uint_fast16_t y, uint_fast16_t w, uint_fast16_t h) override;
@@ -170,6 +168,7 @@ namespace lgfx
170168
CMD_PAGEADDRESSINGMODE ,
171169
CMD_SETDISPSTARTLINE , 0x00,
172170
CMD_SETDISPLAYCLOCKDIV , 0x50,
171+
CMD_SETMULTIPLEX , 0x7F,
173172
CMD_SETDISPLAYOFFSET , 0x00,
174173
CMD_DCDC , 0x8B,
175174
CMD_SEGREMAP ,

0 commit comments

Comments
 (0)