summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Menes <rmenes@rockbox.org>2008-09-27 16:37:16 +0000
committerRobert Menes <rmenes@rockbox.org>2008-09-27 16:37:16 +0000
commitf83fc36d881dc316233765a005f14d3dfa7e0813 (patch)
tree7d3dc9a5dac7bc8b57367b359e7aa56a1533c756
parent6a012210d0e35cc1fced18e49de5dbb6be36d81d (diff)
downloadrockbox-f83fc36d881dc316233765a005f14d3dfa7e0813.tar.gz
rockbox-f83fc36d881dc316233765a005f14d3dfa7e0813.zip
Gave meizu_dfu's source the official Rockbox header. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18655 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--utils/meizu_dfu/meizu_dfu.c30
1 files changed, 22 insertions, 8 deletions
diff --git a/utils/meizu_dfu/meizu_dfu.c b/utils/meizu_dfu/meizu_dfu.c
index 62c221eabc..a493bb0a75 100644
--- a/utils/meizu_dfu/meizu_dfu.c
+++ b/utils/meizu_dfu/meizu_dfu.c
@@ -1,9 +1,23 @@
-/*
- Copyright 2008 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com>
- Frank Gevaerts <frank@gevaerts.be>
- This file is licensed under GPL v2.
-*/
-
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2008 by William Poetra Yoga Hadisoeseno and Frank Gevaerts
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
@@ -83,8 +97,8 @@ typedef struct {
#define DFU_INIT_CRC 0xffffffff
#define USB_VID_SAMSUNG 0x0419
-#define USB_PID_M6SL 0x0145
-#define USB_PID_M3_M6 0x0141
+#define USB_PID_M6SL 0x1240
+#define USB_PID_M3_M6 0x1240
void init_img(image_data_t *img, const char *filename, image_attr_t *attr)
{