projects
/
vuplus_openembedded
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1e9917
)
debug enigma2 patch.
author
ikseong
<ikseong@vuplus>
Wed, 11 Aug 2010 01:02:39 +0000
(10:02 +0900)
committer
ikseong
<ikseong@vuplus>
Wed, 11 Aug 2010 01:02:39 +0000
(10:02 +0900)
on Duo, debug lcd.cpp.
recipes/enigma2/enigma2/vuplus/enigma2_vuplus_duo.patch
patch
|
blob
|
history
diff --git
a/recipes/enigma2/enigma2/vuplus/enigma2_vuplus_duo.patch
b/recipes/enigma2/enigma2/vuplus/enigma2_vuplus_duo.patch
index
2570673
..
22cea87
100644
(file)
--- a/
recipes/enigma2/enigma2/vuplus/enigma2_vuplus_duo.patch
+++ b/
recipes/enigma2/enigma2/vuplus/enigma2_vuplus_duo.patch
@@
-143,10
+143,10
@@
index 096705e..bcf0f5f 100755
// if (update)
#ifndef BUILD_VUPLUS /* ikseong */
diff --git a/lib/gdi/lcd.cpp b/lib/gdi/lcd.cpp
// if (update)
#ifndef BUILD_VUPLUS /* ikseong */
diff --git a/lib/gdi/lcd.cpp b/lib/gdi/lcd.cpp
-index 9cb657c..
51af90
8 100755
+index 9cb657c..
83add3
8 100755
--- a/lib/gdi/lcd.cpp
+++ b/lib/gdi/lcd.cpp
--- a/lib/gdi/lcd.cpp
+++ b/lib/gdi/lcd.cpp
-@@ -228,3 +228,
32
@@ void eDBoxLCD::update()
+@@ -228,3 +228,
25
@@ void eDBoxLCD::update()
}
}
}
}
@@
-155,27
+155,20
@@
index 9cb657c..51af908 100755
+{
+ int len = strlen(text);
+ int i;
+{
+ int len = strlen(text);
+ int i;
-+ char *result;
+ for(i=0;i<len;i++)
+ {
+ if(text[i]==0x0a)
+ for(i=0;i<len;i++)
+ {
+ if(text[i]==0x0a)
-+ result[i] = 0x20;
-+ else
-+ result[i]=text[i];
++ text[i] = 0x20;
+ }
+ return text;
+}
+
+void eDBoxLCD::updates(ePoint start,char *text)
+{
+ }
+ return text;
+}
+
+void eDBoxLCD::updates(ePoint start,char *text)
+{
-+ char *result;
+ if((lcdfd >= 0) && (start.y() < 5))
+ {
+ if((lcdfd >= 0) && (start.y() < 5))
+ {
-+// eDebug("vfd output - %s",text);
-+ result = remaketext(text);
-+// eDebug("vfd output - %s",result);
-+ //write(lcdfd,text,strlen(text));
-+ write(lcdfd,result,strlen(result));
++ text = remaketext(text);
++ write(lcdfd,text,strlen(text));
+ }
+}
+#endif
+ }
+}
+#endif