Moved settings #defines to settings.h

I did feel like they belong in config.h
This commit is contained in:
Mikael Degerfält 2019-06-04 23:17:43 +02:00
parent 4bf2a3a91e
commit 58ea673994
4 changed files with 112 additions and 102 deletions

View file

@ -9,6 +9,7 @@
#include "midi.h"
#include "menu.h"
#include "config.h"
#include "settings.h"
/*
NAME: NuEVI
@ -22,6 +23,22 @@ PROGRAMME FUNCTION: EVI Wind Controller using the Freescale MP3V5004GP breath
*/
// The three states of our main state machine
// No note is sounding
#define NOTE_OFF 1
// We've observed a transition from below to above the
// threshold value. We wait a while to see how fast the
// breath velocity is increasing
#define RISE_WAIT 2
// A note is sounding
#define NOTE_ON 3
//_______________________________________________________________________________________________ DECLARATIONS
//variables setup