From 7a9bb2b3c9157d9ef856f5b002ecc8b1026a5dd1 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Sat, 21 Jan 2023 18:49:50 +0100 Subject: [PATCH] Fixes. --- MicroDexed.ino | 2 -- config.h | 9 +-------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/MicroDexed.ino b/MicroDexed.ino index 149a7bc..7dd4380 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -675,9 +675,7 @@ void loop() { ENCODER[ENC_L].update(); ENCODER[ENC_R].update(); -#ifdef ENABLE_LCD_UI LCDML.loop(); -#endif // CONTROL-RATE-EVENT-HANDLING if (control_rate > CONTROL_RATE_MS) { diff --git a/config.h b/config.h index 66a8f50..f676e7a 100644 --- a/config.h +++ b/config.h @@ -132,7 +132,7 @@ #endif // DELAYTIME -#define USE_DELAY_8M 1 +//#define USE_DELAY_8M 1 #if defined(USE_DELAY_8M) #define DELAY_MAX_TIME 5000 #else @@ -222,16 +222,9 @@ #define SDCARD_AUDIO_CS_PIN 10 #define SDCARD_AUDIO_MOSI_PIN 7 #define SDCARD_AUDIO_SCK_PIN 14 -#if defined(ARDUINO_TEENSY41) -// Teensy 3.6 & 4.1 internal SD card #define SDCARD_TEENSY_CS_PIN BUILTIN_SDCARD #define SDCARD_TEENSY_MOSI_PIN 11 #define SDCARD_TEENSY_SCK_PIN 13 -#else -#define SDCARD_TEENSY_CS_PIN 10 -#define SDCARD_TEENSY_MOSI_PIN 11 -#define SDCARD_TEENSY_SCK_PIN 13 -#endif // Encoder with button //#define ENCODER_USE_INTERRUPTS