Skip to content

Commit 24dad4f

Browse files
authored
Merge pull request m5stack#367 from Ocean-lhy/fix_st7121_lcd_rst
Add support for ESP32P4: Capture LCD reset mode and update Power class
2 parents a528502 + 9c9a0bd commit 24dad4f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/utility/Power_Class.inl‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ namespace m5
166166
/// |||||||+-- RF_PTH_L_INT_H_EXT : antenna L=internal / H=external
167167
/// ||||||||
168168
0x05, 0b01110000, // OUT_SET
169-
0x03, 0b01110011, // IO_DIR
169+
0x03, 0b01100011, // IO_DIR (LCD_RST input)
170170
0x07, 0b00001000, // OUT_H_IM
171-
0x0D, 0b00000100, // PULL_SEL
172-
0x0B, 0b00000100, // PULL_EN
171+
0x0D, 0b00010100, // PULL_SEL (LCD_RST pull-up)
172+
0x0B, 0b00010100, // PULL_EN (LCD_RST pull-up enabled)
173173
};
174174
static constexpr std::uint8_t reg_array_0x44[] =
175175
{ /// +--------- CHG_EN

0 commit comments

Comments
 (0)