Changeset 13868 for titan/plugins/lcdpearl1
- Timestamp:
- 01/31/12 17:42:25 (12 years ago)
- Location:
- titan/plugins/lcdpearl1
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/lcdpearl1/lcdpearl1.c
r13822 r13868 13 13 struct stimerthread* LCD_Pearl1thread = NULL; 14 14 int firststart = 0; 15 16 #include "lcdpearl_grep.h" 15 17 16 18 void LCD_start_lcd4linux() … … 49 51 if(firststart == 1) 50 52 sleep(5); 53 addtimer(&lcd_raw_event, START, 10000, 1, NULL, NULL, NULL); 54 firststart = 0; 51 55 while (LCD_Pearl1thread->aktion != STOP) { 52 56 put = 0; … … 98 102 changetext(akttime, tmpstr); 99 103 drawscreen(LCD_Pearl1, 0); 100 system(fbgrab);101 system("mv /tmp/.titanlcd1.png /tmp/titanlcd.png");104 //system(fbgrab); 105 //system("mv /tmp/.titanlcd1.png /tmp/titanlcd.png"); 102 106 103 107 //system("/var/bin/fbgrab -f /tmp/titanlcd.raw -w 320 -h 240 -b 32 -i /tmp/titanlcd.png > /dev/null"); … … 118 122 addconfig("lcd_pearl1_plugin_running", "no"); 119 123 LCD_Pearl1thread = NULL; 124 drawscreen(LCD_Pearl1, 0); 120 125 return; 121 126 } … … 130 135 addtimer(&LCD_start_lcd4linux, START, 10000, 1, NULL, NULL, NULL); 131 136 sleep(1); 132 firststart = 0;133 137 } 134 138 else … … 158 162 if(ostrcmp(tmpstr, "yes") == 0) 159 163 LCD_Pearl1_main(); 160 firststart = 0;161 164 tmpstr=NULL; 162 165 }
Note: See TracChangeset
for help on using the changeset viewer.