Adjust configs so buttons work again, disable debugging, tweak spi clock rate for sd card

This commit is contained in:
KemoNine 2020-09-12 23:07:44 -04:00
parent bbc2eb56a7
commit 6682216430
3 changed files with 8 additions and 8 deletions

View file

@ -193,8 +193,8 @@ extern "C" {
// #endif
// Adafruit nRF52840 Feather
// #include "ard-adagfx-ili9341-stmpe610.h"
#include "ard-adagfx-ili9341-notouch.h"
#include "ard-adagfx-ili9341-stmpe610.h"
// #include "ard-adagfx-ili9341-notouch.h"
#define GSLC_CFG_ARD
// =========================================================================================

View file

@ -672,7 +672,7 @@ bool gslc_DrvInit(gslc_tsGui* pGui)
// Initialize SD card usage
#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);
return false;
}

View file

@ -231,11 +231,11 @@ extern "C" {
// Debug diagnostic modes
// -----------------------------------------------------------------------------
// - Uncomment any of the following to enable specific debug modes
#define DBG_LOG // Enable debugging log output
#define DBG_TOUCH // Enable debugging of touch-presses
//#define DBG_FRAME_RATE // Enable diagnostic frame rate reporting
//#define DBG_DRAW_IMM // Enable immediate rendering of drawing primitives
#define DBG_DRIVER // Enable graphics driver debug reporting
// #define DBG_LOG // Enable debugging log output
// #define DBG_TOUCH // Enable debugging of touch-presses
// #define DBG_FRAME_RATE // Enable diagnostic frame rate reporting
// #define DBG_DRAW_IMM // Enable immediate rendering of drawing primitives
// #define DBG_DRIVER // Enable graphics driver debug reporting
// =============================================================================