summaryrefslogtreecommitdiffstats
path: root/firmware/target
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-10-07 12:45:48 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-10-07 12:45:48 +0200
commit7eb240a28851c693b897c88cce9e10a7310b4f9e (patch)
treeed4e54f6dc36bf04e13c2bb85206145bad755ba0 /firmware/target
parent4382f8773eaa94c43dc6cc0f19591d2607a34f20 (diff)
downloadrockbox-7eb240a28851c693b897c88cce9e10a7310b4f9e.tar.gz
rockbox-7eb240a28851c693b897c88cce9e10a7310b4f9e.tar.bz2
rockbox-7eb240a28851c693b897c88cce9e10a7310b4f9e.zip
Add Sony NW-ZX300 model id to database
Change-Id: I8e7a14b86408c52cbd4a059e2db6a9c9d0966fc6
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.c1
-rw-r--r--firmware/target/hosted/sonynwz/nwz-db.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/hosted/sonynwz/nwz-db.c b/firmware/target/hosted/sonynwz/nwz-db.c
index 96c9c6e84f..c8cd4f1d4f 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.c
+++ b/firmware/target/hosted/sonynwz/nwz-db.c
@@ -210,6 +210,7 @@ struct nwz_model_info_t nwz_model[NWZ_MODEL_COUNT] =
{ 0x22000004, "NW-A35" },
{ 0x22000005, "NW-A36" },
{ 0x22000006, "NW-A37" },
+ { 0x23000006, "NW-ZX300" },
};
static int nvp_index_0ac81d[NWZ_NVP_COUNT] =
diff --git a/firmware/target/hosted/sonynwz/nwz-db.h b/firmware/target/hosted/sonynwz/nwz-db.h
index d032e27d04..35642f18c4 100644
--- a/firmware/target/hosted/sonynwz/nwz-db.h
+++ b/firmware/target/hosted/sonynwz/nwz-db.h
@@ -152,7 +152,7 @@ enum nwz_nvp_node_t
/* Invalid NVP index */
#define NWZ_NVP_INVALID -1 /* Non-existent entry */
/* Number of models */
-#define NWZ_MODEL_COUNT 186
+#define NWZ_MODEL_COUNT 187
/* Number of series */
#define NWZ_SERIES_COUNT 38