mirror of
https://github.com/peterantypas/maiana.git
synced 2025-05-18 08:20:08 -07:00
No profiling
This commit is contained in:
parent
7ea1e42cee
commit
930927c8f9
@ -58,7 +58,7 @@ bool Receiver::init()
|
|||||||
//DBG("Configuring IC\r\n");
|
//DBG("Configuring IC\r\n");
|
||||||
configure();
|
configure();
|
||||||
resetBitScanner();
|
resetBitScanner();
|
||||||
configureGPIOsForRX();
|
//configureGPIOsForRX();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -79,8 +79,8 @@ void Receiver::switchToChannel(VHFChannel channel)
|
|||||||
// TODO: This is a really, really long operation - over 320us !!!
|
// TODO: This is a really, really long operation - over 320us !!!
|
||||||
void Receiver::startListening(VHFChannel channel)
|
void Receiver::startListening(VHFChannel channel)
|
||||||
{
|
{
|
||||||
bsp_signal_high();
|
//bsp_signal_high();
|
||||||
//configureGPIOsForRX();
|
configureGPIOsForRX();
|
||||||
|
|
||||||
mChannel = channel;
|
mChannel = channel;
|
||||||
RX_OPTIONS options;
|
RX_OPTIONS options;
|
||||||
@ -92,7 +92,7 @@ void Receiver::startListening(VHFChannel channel)
|
|||||||
options.next_state3 = 0;
|
options.next_state3 = 0;
|
||||||
|
|
||||||
sendCmd (START_RX, &options, sizeof options, NULL, 0);
|
sendCmd (START_RX, &options, sizeof options, NULL, 0);
|
||||||
bsp_signal_low();
|
//bsp_signal_low();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Receiver::resetBitScanner()
|
void Receiver::resetBitScanner()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user