mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-06 09:01:57 +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(
|
||||
|
||||
Reference in New Issue
Block a user