From 708160b459fcf7ad820c43530bd55914e4c098bc Mon Sep 17 00:00:00 2001 From: lumapu Date: Tue, 16 Apr 2024 00:11:19 +0200 Subject: [PATCH] display functional if CMT isn't active --- src/plugins/Display/epdHal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/Display/epdHal.h b/src/plugins/Display/epdHal.h index 01cb4324..29948059 100644 --- a/src/plugins/Display/epdHal.h +++ b/src/plugins/Display/epdHal.h @@ -16,7 +16,7 @@ class epdHal: public GxEPD2_HalInterface, public SpiPatcherHandle { public: epdHal() { - mSpiPatcher = SpiPatcher::getInstance(SPI2_HOST); + mSpiPatcher = SpiPatcher::getInstance(SPI3_HOST); } void patch() override { @@ -72,7 +72,7 @@ class epdHal: public GxEPD2_HalInterface, public SpiPatcherHandle { if(GPIO_NUM_NC != mPinRst) { gpio_reset_pin(mPinRst); gpio_set_direction(mPinRst, GPIO_MODE_OUTPUT); - gpio_set_level(mPinRst, LOW); + gpio_set_level(mPinRst, HIGH); } gpio_reset_pin(mPinDc);