fix
This commit is contained in:
parent
4a5201c957
commit
a9269aacaa
|
@ -38,7 +38,21 @@ namespace ratgdo {
|
||||||
uint32_t data;
|
uint32_t data;
|
||||||
} command;
|
} command;
|
||||||
|
|
||||||
static const Command = {
|
typedef struct {
|
||||||
|
command REBOOT1;
|
||||||
|
command REBOOT2;
|
||||||
|
command REBOOT3;
|
||||||
|
command REBOOT4;
|
||||||
|
command REBOOT5;
|
||||||
|
command REBOOT6;
|
||||||
|
command REBOOT4;
|
||||||
|
command DOOR1;
|
||||||
|
command DOOR2;
|
||||||
|
command LIGHT;
|
||||||
|
command LOCK;
|
||||||
|
} commands;
|
||||||
|
|
||||||
|
const commands Command = {
|
||||||
.REBOOT1 = (command) { 0x400000000, 0x0000618b },
|
.REBOOT1 = (command) { 0x400000000, 0x0000618b },
|
||||||
.REBOOT2 = (command) { 0, 0x01009080 },
|
.REBOOT2 = (command) { 0, 0x01009080 },
|
||||||
.REBOOT3 = (command) { 0, 0x0000b1a0 },
|
.REBOOT3 = (command) { 0, 0x0000b1a0 },
|
||||||
|
|
Loading…
Reference in New Issue