mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 23:38:02 +00:00
Module loading should work again
Modules won't load if already loaded (dirty footprint hack)
This commit is contained in:
@@ -51,6 +51,7 @@ public:
|
||||
Retune = 11,
|
||||
ReadyForSwitch = 12,
|
||||
AFSKData = 13,
|
||||
ModuleID = 14,
|
||||
MAX
|
||||
};
|
||||
|
||||
@@ -297,6 +298,17 @@ public:
|
||||
int n = 0;
|
||||
};
|
||||
|
||||
class ModuleIDMessage : public Message {
|
||||
public:
|
||||
ModuleIDMessage(
|
||||
) : Message { ID::ModuleID }
|
||||
{
|
||||
}
|
||||
|
||||
bool query;
|
||||
char md5_signature[16];
|
||||
};
|
||||
|
||||
class ReadyForSwitchMessage : public Message {
|
||||
public:
|
||||
ReadyForSwitchMessage(
|
||||
|
@@ -1,2 +1,2 @@
|
||||
const char md5_baseband[16] = {0x20,0xb7,0x1a,0x68,0x28,0xda,0xc9,0xb8,0x01,0xb0,0xbd,0x68,0x0d,0xd5,0xd6,0xa7,};
|
||||
const char md5_baseband_tx[16] = {0xe5,0x29,0xb9,0xf0,0x81,0x50,0x45,0x69,0x24,0xaf,0xdd,0x4e,0xdb,0xaf,0xd8,0x97,};
|
||||
const char md5_baseband[16] = {0xef,0xc2,0x85,0x1d,0x83,0x0d,0x5c,0x18,0x55,0x7b,0x80,0x75,0xc9,0x6a,0x54,0xe1,};
|
||||
const char md5_baseband_tx[16] = {0xad,0xc6,0x44,0x4e,0xf4,0xe1,0xb8,0xb2,0x29,0x52,0x1d,0x33,0x1f,0xda,0x5d,0xd6,};
|
||||
|
Reference in New Issue
Block a user