From 67f1385a353b0a89ceb3cb11a31161e0bee6680e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 14 Aug 2010 16:26:20 +0800 Subject: Fix the block/sector naming mistake in structure names --- easytool/easycard.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'easytool/easycard.h') diff --git a/easytool/easycard.h b/easytool/easycard.h index 7da1015..e6ce806 100644 --- a/easytool/easycard.h +++ b/easytool/easycard.h @@ -11,15 +11,15 @@ extern const struct value_string easy_tt_names[]; extern const struct value_string taipei_mrt_stn_id[]; -/* Sector 0 of Block 2 seems to contain manufacturing timestamp */ -struct easy_block2sec0 { +/* Block 0 of Sector 2 seems to contain manufacturing timestamp */ +struct easy_sect2blk0 { uint8_t unknown[6]; uint8_t timestamp[3]; uint8_t unknown2[7]; } __attribute__ ((packed)); -/* Sector 2 of Block 15 */ -struct easy_block15sec2 { +/* Block 2 of Sector 15 */ +struct easy_sect15blk2 { uint8_t unknown[11]; uint8_t day_of_month; uint8_t unknown2; /* always 0x3d? */ -- cgit v1.2.3