• R/O
  • SSH
  • HTTPS

felicalib: Commit


Commit MetaInfo

Revision74 (tree)
Zeit2008-03-05 15:49:25
Autortmurakam

Log Message

updated

Ändern Zusammenfassung

Diff

--- trunk/src/suica/suica.c (revision 73)
+++ trunk/src/suica/suica.c (revision 74)
@@ -137,9 +137,10 @@
137137
138138 // 時刻
139139 if (time > 0) {
140- int hh = time >> 6;
141- int mm = (time & 0x3f);
142- printf(" %02d:%02d ", hh, mm);
140+ int hh = time >> 11;
141+ int min = (time >> 5) & 0x3f;
142+
143+ printf(" %02d:%02d ", hh, min);
143144 }
144145
145146 printf("入:%x/%x ", in_line, in_sta);
Show on old repository browser