summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-02-27 22:07:37 +0000
committerSolomon Peachy <pizza@shaftnet.org>2021-02-27 23:53:28 +0000
commitaacb0811d98beb70a59d26edbfd43ba9c456497f (patch)
tree0c8a59421a28536887fc1b277884a4e220ffac4c /bootloader
parent55dc86f5db1dbf26b4179aea5c7ccd315ee20266 (diff)
Rename symbols of FiiO M3K Linux-based port
Mainly a straight replacement of FIIO_M3K -> FIIO_M3K_LINUX. Change-Id: Id07c84f8150991d1b6851540c2c3f8f67e3f12c2
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/SOURCES2
-rw-r--r--bootloader/rocker_linux.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/bootloader/SOURCES b/bootloader/SOURCES
index e775fbe246..3c9a3068ad 100644
--- a/bootloader/SOURCES
+++ b/bootloader/SOURCES
@@ -78,7 +78,7 @@ show_logo.c
mpio_hd200_hd300.c
#elif defined(SONY_NWZ_LINUX)
nwz_linux.c
-#elif defined(HIBY_LINUX) || defined(FIIO_M3K)
+#elif defined(HIBY_LINUX) || defined(FIIO_M3K_LINUX)
rocker_linux.c
#elif defined(RK27_GENERIC) || defined(HM60X) || defined(HM801) \
|| defined(MA9) || defined(MA9C) || defined(MA8) || defined(MA8C) \
diff --git a/bootloader/rocker_linux.c b/bootloader/rocker_linux.c
index fc633d504e..c0cba2776c 100644
--- a/bootloader/rocker_linux.c
+++ b/bootloader/rocker_linux.c
@@ -72,7 +72,7 @@
#define BUTTON_DOWN BUTTON_HOME
#define BUTTON_SELECT BUTTON_PLAY
#include "bitmaps/hibyicon.h"
-#elif defined(FIIO_M3K)
+#elif defined(FIIO_M3K_LINUX)
#define ICON_WIDTH 130
#define ICON_HEIGHT 130
#define ICON_NAME bm_fiioicon
@@ -95,7 +95,7 @@
#endif
#define BASE_DIR PIVOT_ROOT
-//#ifdef FIIO_M3K
+//#ifdef FIIO_M3K_LINUX
//#define BASE_DIR "/mnt"
//#else
//#define BASE_DIR "/mnt/sd_0"
@@ -469,7 +469,7 @@ void run_script_menu(void)
static void adb(int start)
{
-#if defined(FIIO_M3K)
+#if defined(FIIO_M3K_LINUX)
lcd_set_foreground(LCD_RGBPACK(255, 0, 0));
lcd_putsf(0, 1, "ADB not supported!");
sleep(2*HZ);
@@ -622,7 +622,7 @@ int main(int argc, char **argv)
#endif
mount_storage(false);
/* boot OF */
-#if defined(FIIO_M3K)
+#if defined(FIIO_M3K_LINUX)
execvp("/usr/project/bin/player_daemon", argv);
#else
execvp("/usr/bin/hiby_player", argv);