mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-14 11:53:42 +00:00
Add basic ERT (OOK) utility meter reception.
Extracted the Manchester formatting function for use in ERT, now also returns an indication of bits in error.
This commit is contained in:
@@ -138,7 +138,8 @@ void ReceiverModel::disable() {
|
||||
}
|
||||
|
||||
int32_t ReceiverModel::tuning_offset() {
|
||||
if( baseband_configuration.mode == 4 ) {
|
||||
if( (baseband_configuration.mode == 4) ||
|
||||
(baseband_configuration.mode == 6) ) {
|
||||
return 0;
|
||||
} else {
|
||||
return -(sampling_rate() / 4);
|
||||
|
||||
Reference in New Issue
Block a user