1
0
mirror of https://github.com/peterantypas/maiana.git synced 2025-05-18 00:10:08 -07:00

No profiling

This commit is contained in:
Peter Antypas 2020-11-02 20:48:18 -08:00
parent 7ea1e42cee
commit 930927c8f9

View File

@ -58,7 +58,7 @@ bool Receiver::init()
//DBG("Configuring IC\r\n");
configure();
resetBitScanner();
configureGPIOsForRX();
//configureGPIOsForRX();
return true;
}
@ -79,8 +79,8 @@ void Receiver::switchToChannel(VHFChannel channel)
// TODO: This is a really, really long operation - over 320us !!!
void Receiver::startListening(VHFChannel channel)
{
bsp_signal_high();
//configureGPIOsForRX();
//bsp_signal_high();
configureGPIOsForRX();
mChannel = channel;
RX_OPTIONS options;
@ -92,7 +92,7 @@ void Receiver::startListening(VHFChannel channel)
options.next_state3 = 0;
sendCmd (START_RX, &options, sizeof options, NULL, 0);
bsp_signal_low();
//bsp_signal_low();
}
void Receiver::resetBitScanner()