summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/iriver/h10
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-08-20 23:05:47 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-08-20 23:05:47 +0000
commit18cfe431d7556f8cd7047018febe191073c26a1f (patch)
tree90b208d90f3a75cbfd226837e1a3efd46a728e69 /firmware/target/arm/iriver/h10
parent2a8dfd65b98e6dfe946b6d12b9660c739d29e31b (diff)
downloadrockbox-18cfe431d7556f8cd7047018febe191073c26a1f.tar.gz
rockbox-18cfe431d7556f8cd7047018febe191073c26a1f.tar.bz2
rockbox-18cfe431d7556f8cd7047018febe191073c26a1f.zip
Fix errors when building H10 Normal build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10668 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/iriver/h10')
-rwxr-xr-xfirmware/target/arm/iriver/h10/adc-h10.c41
-rw-r--r--firmware/target/arm/iriver/h10/lcd-h10.c16
2 files changed, 55 insertions, 2 deletions
diff --git a/firmware/target/arm/iriver/h10/adc-h10.c b/firmware/target/arm/iriver/h10/adc-h10.c
new file mode 100755
index 0000000000..0e17ae4f91
--- /dev/null
+++ b/firmware/target/arm/iriver/h10/adc-h10.c
@@ -0,0 +1,41 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2006 by Barry Wardell
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+#include "config.h"
+#include "cpu.h"
+#include "system.h"
+#include "kernel.h"
+#include "thread.h"
+#include "adc.h"
+
+/* TODO: implement adc functionality */
+unsigned short adc_scan(int channel)
+{
+ (void)channel;
+ return 0;
+}
+
+unsigned short adc_read(int channel)
+{
+ (void)channel;
+ return 0;
+}
+
+void adc_init(void)
+{
+}
diff --git a/firmware/target/arm/iriver/h10/lcd-h10.c b/firmware/target/arm/iriver/h10/lcd-h10.c
index 022dc22208..7367bdc09b 100644
--- a/firmware/target/arm/iriver/h10/lcd-h10.c
+++ b/firmware/target/arm/iriver/h10/lcd-h10.c
@@ -155,14 +155,26 @@ void lcd_blit(const fb_data* data, int x, int by, int width,
(void)stride;
}
-
+void lcd_yuv_blit(unsigned char * const src[3],
+ int src_x, int src_y, int stride,
+ int x, int y, int width, int height)
+{
+ (void)src;
+ (void)src_x;
+ (void)src_y;
+ (void)stride;
+ (void)x;
+ (void)y;
+ (void)width;
+ (void)height;
+}
/* Update a fraction of the display. */
void lcd_update_rect(int x, int y, int width, int height)
{
int y0, x0, y1, x1;
- int newx,newwidth;
+ /*int newx,newwidth;*/
unsigned long *addr = (unsigned long *)lcd_framebuffer;