mirror of
https://github.com/okalachev/flix.git
synced 2026-06-28 05:56:44 +00:00
Consistently use defines to set parameters
This commit is contained in:
+5
-5
@@ -3,11 +3,11 @@
|
||||
|
||||
// In-RAM logging
|
||||
|
||||
const int LOG_RATE = 100;
|
||||
const int LOG_DURATION = 10;
|
||||
const float LOG_PERIOD = 1 / LOG_RATE;
|
||||
const int LOG_SIZE = LOG_DURATION * LOG_RATE;
|
||||
const int LOG_COLUMNS = 14;
|
||||
#define LOG_RATE 100
|
||||
#define LOG_DURATION 10
|
||||
#define LOG_PERIOD 1 / LOG_RATE
|
||||
#define LOG_SIZE LOG_DURATION * LOG_RATE
|
||||
#define LOG_COLUMNS 14
|
||||
|
||||
float logBuffer[LOG_SIZE][LOG_COLUMNS]; // * 4 (float)
|
||||
int logPointer = 0;
|
||||
|
||||
Reference in New Issue
Block a user