mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-12 03:34:58 -04: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:
parent
0c36a74351
commit
82ff45860e
8 changed files with 329 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue