消费金额按厘计算
diff --git a/supwisdom/sp_consume.c b/supwisdom/sp_consume.c
index 90c5295..c418368 100644
--- a/supwisdom/sp_consume.c
+++ b/supwisdom/sp_consume.c
@@ -343,7 +343,7 @@
}
if(pos->purchase.paid_sum > 0)
{
- sprintf(msg,"¹²¼Æ %0.2fÔª",pos->purchase.paid_sum/100.0f);
+ sprintf(msg,"¹²¼Æ %0.3fÔª",pos->purchase.paid_sum/1000.0f);
disp_hint_info_two(pos,"½áÊø¼Æ·Ñ",msg,DELAY_TIME2s);
}
else
@@ -364,7 +364,7 @@
sp_valve_off();
if(pos->purchase.paid_sum > 0)
{
- sprintf(msg,"¹²¼Æ %0.2fÔª",pos->purchase.paid_sum/100.0f);
+ sprintf(msg,"¹²¼Æ %0.3fÔª",pos->purchase.paid_sum/1000.0f);
disp_hint_info_two(pos,"ÔÝÍ£¼Æ·Ñ",msg,DELAY_TIME2s);
}
else
@@ -393,7 +393,7 @@
switch(cardWorkState->current_state)
{
case CARDWORKSTATUS_NONE:
- if(timer_get_ticker() - pos->cardState.firsttick < 1500)
+ if(timer_get_ticker() - pos->cardState.firsttick < 500)
{
break;
}