优化
diff --git a/supwisdom/sp_consume.c b/supwisdom/sp_consume.c
index e1a9c46..78dd02c 100644
--- a/supwisdom/sp_consume.c
+++ b/supwisdom/sp_consume.c
@@ -57,7 +57,7 @@
 
 void sp_test_card_state(sp_pos_t* pos, sp_cardworkstate_t* cardWorkState, uint32 tick)
 {
-  uint8 ret = 0;
+  uint8 ret;
   sp_card_t cardpcd;
   switch(pos->cardState.cur_state)
   {
@@ -197,7 +197,7 @@
 
 static uint16 sp_check_dev(const sp_pos_t* pos)
 {
-  uint16 ret = 0;
+  uint16 ret;
   uint8 ctime[6];
   MEMCLEAR(ctime, sizeof(ctime));
   sp_get_bcdtime(ctime);
@@ -230,7 +230,7 @@
 
 static uint16 do_new(sp_pos_t* pos, sp_card_t* card)
 {
-  uint16 ret = 0;
+  uint16 ret;
   sp_transdtl_t record;
   MEMCLEAR(&record, sizeof(record));
   card->cardtype = pos->cardState.tag_type;
@@ -289,7 +289,7 @@
 
 static uint16 do_work(sp_pos_t* pos, sp_card_t* card)
 {
-  uint16 ret = 0;
+  uint16 ret;
   sp_valve_on();
   //¼ÆËãÏû·Ñ½ð¶î
   ret = sp_calc_payamt_by_flowsensor(pos, card);
@@ -613,7 +613,7 @@
 }
 
 //¶þάÂëÏû·Ñ´¦Àí
-uint32 tick = 0;
+static uint32 tick = 0;
 void sp_qrcode_handle(sp_pos_t* pos, sp_cardworkstate_t* cardWorkState)
 {
   uint16 ret = 0;