summaryrefslogtreecommitdiff
path: root/apps/plugins/jackpot.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/jackpot.c')
-rw-r--r--apps/plugins/jackpot.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/plugins/jackpot.c b/apps/plugins/jackpot.c
index a2ebb81f5c..37ee4514e7 100644
--- a/apps/plugins/jackpot.c
+++ b/apps/plugins/jackpot.c
@@ -47,7 +47,7 @@ static unsigned char pattern[]={
47}; 47};
48 48
49static unsigned char str[12]; /*Containt the first line*/ 49static unsigned char str[12]; /*Containt the first line*/
50static unsigned char h1,h2,h3; /*Handle for the pattern*/ 50static unsigned long h1,h2,h3; /*Handle for the pattern*/
51 51
52/* here is a global api struct pointer. while not strictly necessary, 52/* here is a global api struct pointer. while not strictly necessary,
53 it's nice not to have to pass the api pointer in all function calls 53 it's nice not to have to pass the api pointer in all function calls
@@ -109,10 +109,12 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
109 rb->lcd_define_pattern(h1, pattern); 109 rb->lcd_define_pattern(h1, pattern);
110 rb->lcd_define_pattern(h2, pattern+7); 110 rb->lcd_define_pattern(h2, pattern+7);
111 rb->lcd_define_pattern(h3, pattern+28); 111 rb->lcd_define_pattern(h3, pattern+28);
112 rb->snprintf(str,sizeof(str),"%c%cJackpot%c%c",h1,h2,h2,h1); 112
113 rb->lcd_puts(0,0,str); 113 rb->lcd_puts(0,0," Jackpot ");
114 rb->snprintf(str,sizeof(str)," %c V1.1 %c",h3,h3); 114 rb->lcd_putc(0,0,h1); rb->lcd_putc(1,0,h2);
115 rb->lcd_puts(0,1,str); 115 rb->lcd_putc(9,0,h2); rb->lcd_putc(10,0,h1);
116 rb->lcd_puts(0,1," V1.1 ");
117 rb->lcd_putc(1,1,h3); rb->lcd_putc(9,1,h3);
116 rb->sleep(HZ*2); 118 rb->sleep(HZ*2);
117 rb->lcd_clear_display(); 119 rb->lcd_clear_display();
118 120