wmc: fix init command
Actually read what struct tm contains and use it correctly, and fix the init command struct size.
This commit is contained in:
@@ -64,7 +64,7 @@ struct WmcCmdInit2 {
|
||||
u_int16_t hours; /* big endian */
|
||||
u_int16_t minutes; /* big endian */
|
||||
u_int16_t seconds; /* big endian */
|
||||
u_int8_t _unknown1[2];
|
||||
u_int8_t _unknown1[3];
|
||||
} __attribute__ ((packed));
|
||||
typedef struct WmcCmdInit2 WmcCmdInit2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user