[Horus] Optimization for the Model Select screen (proxy design pattern)

This commit is contained in:
Bertrand Songis
2016-09-02 18:55:33 +02:00
parent aecf70158e
commit b1cf4da7bb
3 changed files with 27 additions and 15 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
#include "ff.h"
#define DEFAULT_CATEGORY "Models"
#define DEFAULT_MODEL_FILENAME "model01.bin"
#define DEFAULT_MODEL_FILENAME "model1.bin"
const char * readModel(const char * filename, uint8_t * buffer, uint32_t size);
const char * loadModel(const char * filename, bool alarms=true);