Adjust configs so buttons work again, disable debugging, tweak spi clock rate for sd card
This commit is contained in:
parent
bbc2eb56a7
commit
6682216430
|
@ -193,8 +193,8 @@ extern "C" {
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
// Adafruit nRF52840 Feather
|
// Adafruit nRF52840 Feather
|
||||||
// #include "ard-adagfx-ili9341-stmpe610.h"
|
#include "ard-adagfx-ili9341-stmpe610.h"
|
||||||
#include "ard-adagfx-ili9341-notouch.h"
|
// #include "ard-adagfx-ili9341-notouch.h"
|
||||||
#define GSLC_CFG_ARD
|
#define GSLC_CFG_ARD
|
||||||
|
|
||||||
// =========================================================================================
|
// =========================================================================================
|
||||||
|
|
|
@ -672,7 +672,7 @@ bool gslc_DrvInit(gslc_tsGui* pGui)
|
||||||
|
|
||||||
// Initialize SD card usage
|
// Initialize SD card usage
|
||||||
#if (GSLC_SD_EN)
|
#if (GSLC_SD_EN)
|
||||||
if (!SD.begin(ADAGFX_PIN_SDCS, SD_SCK_MHZ(40))) {
|
if (!SD.begin(ADAGFX_PIN_SDCS, SD_SCK_MHZ(50))) {
|
||||||
GSLC_DEBUG_PRINT("ERROR: DrvInit() SD init failed\n",0);
|
GSLC_DEBUG_PRINT("ERROR: DrvInit() SD init failed\n",0);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -231,11 +231,11 @@ extern "C" {
|
||||||
// Debug diagnostic modes
|
// Debug diagnostic modes
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
// - Uncomment any of the following to enable specific debug modes
|
// - Uncomment any of the following to enable specific debug modes
|
||||||
#define DBG_LOG // Enable debugging log output
|
// #define DBG_LOG // Enable debugging log output
|
||||||
#define DBG_TOUCH // Enable debugging of touch-presses
|
// #define DBG_TOUCH // Enable debugging of touch-presses
|
||||||
// #define DBG_FRAME_RATE // Enable diagnostic frame rate reporting
|
// #define DBG_FRAME_RATE // Enable diagnostic frame rate reporting
|
||||||
// #define DBG_DRAW_IMM // Enable immediate rendering of drawing primitives
|
// #define DBG_DRAW_IMM // Enable immediate rendering of drawing primitives
|
||||||
#define DBG_DRIVER // Enable graphics driver debug reporting
|
// #define DBG_DRIVER // Enable graphics driver debug reporting
|
||||||
|
|
||||||
|
|
||||||
// =============================================================================
|
// =============================================================================
|
||||||
|
|
Reference in a new issue