Cosmetics
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
#ifndef audio_h
|
#ifndef audio_h
|
||||||
#define audio_h
|
#define audio_h
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include "FatFs/ff.h"
|
#include "FatFs/ff.h"
|
||||||
|
|
||||||
#define AUDIO_FILENAME_MAXLEN (40)
|
#define AUDIO_FILENAME_MAXLEN (40)
|
||||||
|
|||||||
@@ -90,6 +90,8 @@
|
|||||||
#define AVR_FIELD(x) x;
|
#define AVR_FIELD(x) x;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define NUM_STICKS 4
|
||||||
|
|
||||||
#if defined(PCBTARANIS)
|
#if defined(PCBTARANIS)
|
||||||
#define MAX_MODELS 60
|
#define MAX_MODELS 60
|
||||||
#define NUM_CHNOUT 32 // number of real output channels CH1-CH32
|
#define NUM_CHNOUT 32 // number of real output channels CH1-CH32
|
||||||
|
|||||||
+1
-4
@@ -315,9 +315,6 @@ extern void boardInit();
|
|||||||
#include <avr/wdt.h>
|
#include <avr/wdt.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NUM_STICKS 4
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(PCBTARANIS)
|
#if defined(PCBTARANIS)
|
||||||
#define NUM_SWITCHES 8
|
#define NUM_SWITCHES 8
|
||||||
#define IS_3POS(sw) ((sw) != 5 && (sw) != 7)
|
#define IS_3POS(sw) ((sw) != 5 && (sw) != 7)
|
||||||
@@ -394,7 +391,7 @@ enum PotType {
|
|||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
#include "fifo.h"
|
#include "fifo.h"
|
||||||
// This doesn't need protection on this processor
|
// This doesn't need protection on this processor
|
||||||
#define tmr10ms_t uint32_t
|
typedef uint32_t tmr10ms_t;
|
||||||
extern volatile tmr10ms_t g_tmr10ms;
|
extern volatile tmr10ms_t g_tmr10ms;
|
||||||
#define get_tmr10ms() g_tmr10ms
|
#define get_tmr10ms() g_tmr10ms
|
||||||
typedef int32_t rotenc_t;
|
typedef int32_t rotenc_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user