mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-06 05:36:11 +08:00
Add sanity check per Aneantisor suggestion
This commit is contained in:
parent
b827984813
commit
cafd52c403
@ -31,6 +31,10 @@ extern File tSDFile_handle[ESP_MAX_SD_OPENHANDLE];
|
|||||||
|
|
||||||
#define SDMMC_FORCE_BEGIN
|
#define SDMMC_FORCE_BEGIN
|
||||||
|
|
||||||
|
#ifndef SD_ONE_BIT_MODE
|
||||||
|
#define SD_ONE_BIT_MODE false
|
||||||
|
#endif //SD_ONE_BIT_MODE
|
||||||
|
|
||||||
uint8_t ESP_SD::getState(bool refresh)
|
uint8_t ESP_SD::getState(bool refresh)
|
||||||
{
|
{
|
||||||
static bool lastinitok = false;
|
static bool lastinitok = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user