18 lines
316 B
C
18 lines
316 B
C
#ifndef SETTINGS_H_INCLUDED
|
|
#define SETTINGS_H_INCLUDED
|
|
#include <stdint.h>
|
|
#include "pot.h"
|
|
|
|
#define MAX_PATTERN_LEN 64
|
|
#define MAX_TRACKS 8
|
|
|
|
struct settings {
|
|
int levels[NUM_POTS];
|
|
#define master_vol levels[2]
|
|
int bpm;
|
|
int sequencer_on;
|
|
int pattern_len;
|
|
};
|
|
|
|
extern struct settings Settings;
|
|
#endif
|