Update nfc.h

Fix same structure errors
This commit is contained in:
Slimfr01 2017-01-20 05:30:45 +01:00 committed by GitHub
parent 8110da58b1
commit 96d25dde93

View File

@ -72,12 +72,11 @@ typedef struct {
u8 lastwritedate_day; u8 lastwritedate_day;
u16 write_counter; u16 write_counter;
u8 characterID[3]; u8 characterID[3];
u8 serie;///ID of the serie u8 series;///ID of the series
u8 amiiboID;///ID shared by all exact same amiibo. Some amiibo are only distinguished by this one like regular SMB Series Mario and the gold one u16 amiiboID;///ID shared by all exact same amiibo. Some amiibo are only distinguished by this one like regular SMB Series Mario and the gold one
u16 type;/// Type of amiibo 0 = figure, 1 = card, 2 = Plush u8 type;/// Type of amiibo 0 = figure, 1 = card, 2 = Plush
u8 val_xc; u8 val_xc;
u8 pagex4_byte3;/// "This is byte[3] from NFC page[0x4]." u16 appdata_size;/// "NFC module writes hard-coded u8 value 0xD8 here. This is the size of the Amiibo AppData, apps can use this with the AppData R/W commands. ..."
u8 appdata_size;/// "NFC module writes hard-coded u8 value 0xD8 here. This is the size of the Amiibo AppData, apps can use this with the AppData R/W commands. ..."
u8 zeros[0x31];/// "Unused / reserved: this is cleared by NFC module but never written after that." u8 zeros[0x31];/// "Unused / reserved: this is cleared by NFC module but never written after that."
} NFC_AmiiboConfig; } NFC_AmiiboConfig;