Reorder config.h inclusion

pull/6/head
Dirk Niggemann 5 years ago
parent c19769ad59
commit 9a2cb85bf6
  1. 2
      MicroDexed.ino
  2. 1
      config.h
  3. 2
      dexed.cpp
  4. 2
      dexed_sysex.cpp
  5. 2
      effect_modulated_delay.cpp
  6. 2
      fm_op_kernel.cpp

@ -22,8 +22,8 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h"
#include <limits.h> #include <limits.h>
#include "config.h"
#include <Audio.h> #include <Audio.h>
#include <Wire.h> #include <Wire.h>
#include <SPI.h> #include <SPI.h>

@ -26,6 +26,7 @@
#ifndef CONFIG_H_INCLUDED #ifndef CONFIG_H_INCLUDED
#define CONFIG_H_INCLUDED #define CONFIG_H_INCLUDED
#include <Arduino.h>
#include "midinotes.h" #include "midinotes.h"
// ATTENTION! For better latency you have to redefine AUDIO_BLOCK_SAMPLES from // ATTENTION! For better latency you have to redefine AUDIO_BLOCK_SAMPLES from

@ -23,9 +23,9 @@
*/ */
#include "config.h"
#include "synth.h" #include "synth.h"
#include "dexed.h" #include "dexed.h"
#include "config.h"
#include "EngineMkI.h" #include "EngineMkI.h"
#include "EngineOpl.h" #include "EngineOpl.h"
#include "fm_core.h" #include "fm_core.h"

@ -24,12 +24,12 @@
*/ */
#include <Arduino.h> #include <Arduino.h>
#include "config.h"
#include <Wire.h> #include <Wire.h>
#include <SPI.h> #include <SPI.h>
#include <SD.h> #include <SD.h>
#include "dexed.h" #include "dexed.h"
#include "dexed_sysex.h" #include "dexed_sysex.h"
#include "config.h"
extern Dexed* MicroDexed[NUM_DEXED]; extern Dexed* MicroDexed[NUM_DEXED];

@ -22,10 +22,10 @@
*/ */
#include <Arduino.h> #include <Arduino.h>
#include "config.h"
#include <Audio.h> #include <Audio.h>
#include "arm_math.h" #include "arm_math.h"
#include "effect_modulated_delay.h" #include "effect_modulated_delay.h"
#include "config.h"
extern config_t configuration; extern config_t configuration;

@ -14,6 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "config.h"
#include <math.h> #include <math.h>
#include <cstdlib> #include <cstdlib>
@ -25,7 +26,6 @@
#include "synth.h" #include "synth.h"
#include "sin.h" #include "sin.h"
#include "fm_op_kernel.h" #include "fm_op_kernel.h"
#include "config.h"
#ifdef HAVE_NEON #ifdef HAVE_NEON
static bool hasNeon() { static bool hasNeon() {

Loading…
Cancel
Save