diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-18 15:50:06 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-07-18 15:50:06 +0000 |
commit | aa1042286aa05f04d1d832759d8ff18e8dea1113 (patch) | |
tree | 38dcac77135188e299ebc987cd715c9b252d4278 /firmware | |
parent | 6753fb5138a399b51e65f1dc3e36e73427013379 (diff) | |
download | rockbox-aa1042286aa05f04d1d832759d8ff18e8dea1113.tar.gz rockbox-aa1042286aa05f04d1d832759d8ff18e8dea1113.zip |
Fixed RoLo for H100 targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7188 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config-h100.h | 3 | ||||
-rw-r--r-- | firmware/export/config-h120.h | 3 | ||||
-rw-r--r-- | firmware/rolo.c | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index 96efdd2406..e33b985509 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h | |||
@@ -7,6 +7,9 @@ | |||
7 | */ | 7 | */ |
8 | #define IRIVER_H100_SERIES 1 | 8 | #define IRIVER_H100_SERIES 1 |
9 | 9 | ||
10 | /* For Rolo and boot loader */ | ||
11 | #define MODEL_NUMBER 1 | ||
12 | |||
10 | /* define this if you have recording possibility */ | 13 | /* define this if you have recording possibility */ |
11 | /*#define HAVE_RECORDING 1*/ | 14 | /*#define HAVE_RECORDING 1*/ |
12 | 15 | ||
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index 90a676f4dd..9b93eae070 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h | |||
@@ -3,6 +3,9 @@ | |||
3 | */ | 3 | */ |
4 | #define IRIVER_H100_SERIES 1 | 4 | #define IRIVER_H100_SERIES 1 |
5 | 5 | ||
6 | /* For Rolo and boot loader */ | ||
7 | #define MODEL_NUMBER 0 | ||
8 | |||
6 | /* define this if you have recording possibility */ | 9 | /* define this if you have recording possibility */ |
7 | /*#define HAVE_RECORDING 1*/ | 10 | /*#define HAVE_RECORDING 1*/ |
8 | 11 | ||
diff --git a/firmware/rolo.c b/firmware/rolo.c index 1401307d18..f6fba5f840 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c | |||
@@ -127,7 +127,7 @@ int rolo_load(const char* filename) | |||
127 | return -1; | 127 | return -1; |
128 | } | 128 | } |
129 | 129 | ||
130 | checksum = 0; | 130 | checksum = MODEL_NUMBER; |
131 | 131 | ||
132 | for(i = 0;i < length;i++) { | 132 | for(i = 0;i < length;i++) { |
133 | checksum += audiobuf[i]; | 133 | checksum += audiobuf[i]; |