This commit is contained in:
J. Nick Koston 2023-06-09 15:11:16 -05:00
parent 4a5201c957
commit a9269aacaa
No known key found for this signature in database
1 changed files with 15 additions and 1 deletions

View File

@ -38,7 +38,21 @@ namespace ratgdo {
uint32_t data;
} 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 },
.REBOOT2 = (command) { 0, 0x01009080 },
.REBOOT3 = (command) { 0, 0x0000b1a0 },