mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-02 19:01:48 +00:00
Added EPAR transmit (slow FSK), bit bug for now
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
const char md5_baseband[16] = {0x07,0xff,0xf6,0x7f,0x06,0x02,0xd1,0xd7,0x67,0x8f,0x67,0xdc,0xe8,0x36,0xa9,0xc0,};
|
||||
const char md5_baseband_tx[16] = {0xe9,0xeb,0x30,0xea,0x3f,0xf5,0xea,0x93,0xf9,0x62,0x1e,0x9c,0x5f,0x29,0xa7,0x95,};
|
||||
const char md5_baseband_tx[16] = {0xac,0xaf,0x2a,0x20,0x45,0x35,0x18,0x9c,0xdf,0x02,0x5c,0x2c,0x8f,0x76,0xd3,0xdc,};
|
||||
|
||||
@@ -67,7 +67,8 @@ struct SharedMemory {
|
||||
JammerRange jammer_ranges[16];
|
||||
|
||||
char xylosdata[21];
|
||||
bool xylos_transmit_done;
|
||||
char epardata[13];
|
||||
bool transmit_done;
|
||||
};
|
||||
|
||||
extern SharedMemory& shared_memory;
|
||||
|
||||
@@ -729,6 +729,10 @@ size_t OptionsField::selected_index() const {
|
||||
return selected_index_;
|
||||
}
|
||||
|
||||
size_t OptionsField::selected_index_value() const {
|
||||
return options[selected_index_].second;
|
||||
}
|
||||
|
||||
void OptionsField::set_selected_index(const size_t new_index) {
|
||||
if( new_index < options.size() ) {
|
||||
if( new_index != selected_index() ) {
|
||||
|
||||
@@ -322,6 +322,7 @@ public:
|
||||
void set_options(options_t new_options);
|
||||
|
||||
size_t selected_index() const;
|
||||
size_t selected_index_value() const;
|
||||
void set_selected_index(const size_t new_index);
|
||||
|
||||
void set_by_value(value_t v);
|
||||
|
||||
Reference in New Issue
Block a user