Sfoglia il codice sorgente

Changed changed settings file location from assets path to APP_DATA_PATH

Sandro Kalatozishvili 2 anni fa
parent
commit
faf55240a5
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      xremote.h
  2. 1 1
      xremote_app.c

+ 1 - 1
xremote.h

@@ -10,6 +10,6 @@
 
 #define XREMOTE_VERSION_MAJOR 1
 #define XREMOTE_VERSION_MINOR 0
-#define XREMOTE_BUILD_NUMBER 2
+#define XREMOTE_BUILD_NUMBER 3
 
 void xremote_get_version(char* version, size_t length);

+ 1 - 1
xremote_app.c

@@ -8,7 +8,7 @@
 
 #include "xremote_app.h"
 
-#define XREMOTE_APP_SETTINGS ANY_PATH("infrared/assets/xremote.cfg")
+#define XREMOTE_APP_SETTINGS APP_DATA_PATH("xremote.cfg")
 #define TAG "XRemoteApp"
 
 const NotificationSequence g_sequence_blink_purple_50 = {