Fixes and improvements (#445)
- Remove unnecessary CS work-around for Cardputers - Don't compile WifiMock when not necessary - Fix for running apps on devices without SPIRAM - Disable backlight dimming by default
This commit is contained in:
committed by
GitHub
parent
2ca8ae62fb
commit
719f7bcece
@@ -3,7 +3,6 @@
|
||||
#include <Tactility/hal/sdcard/SpiSdCardDevice.h>
|
||||
|
||||
constexpr auto SDCARD_PIN_CS = GPIO_NUM_12;
|
||||
constexpr auto LCD_PIN_CS = GPIO_NUM_37;
|
||||
|
||||
using tt::hal::sdcard::SpiSdCardDevice;
|
||||
|
||||
@@ -15,7 +14,7 @@ std::shared_ptr<SdCardDevice> createSdCard() {
|
||||
GPIO_NUM_NC,
|
||||
SdCardDevice::MountBehaviour::AtBoot,
|
||||
tt::hal::spi::getLock(SPI3_HOST),
|
||||
std::vector { LCD_PIN_CS },
|
||||
std::vector<gpio_num_t>(),
|
||||
SPI3_HOST
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user