From b23caed4549b50038cc7f5e66f7f8e90abb2a547 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Wed, 3 Aug 2011 18:37:41 +0200 Subject: [PATCH] add static to local-only stuff --- firmware/lcd/decoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/lcd/decoder.c b/firmware/lcd/decoder.c index 7073ee4..539b8d2 100644 --- a/firmware/lcd/decoder.c +++ b/firmware/lcd/decoder.c @@ -2,10 +2,10 @@ #include // Local function: Get next nibble. - int ctr=0; // offset for next nibble - int hilo=0; // 0= high nibble next, 1=low nibble next + static int ctr=0; // offset for next nibble + static int hilo=0; // 0= high nibble next, 1=low nibble next const uint8_t * data; - char gnn(){ // Get next nibble + static char gnn(){ // Get next nibble static int byte; int val; if(hilo==1)