disable activelyReceiving for sx1262 for now - it doesn't yet work

1.2-legacy
geeksville 2020-05-24 16:34:18 -07:00
rodzic 66b11bcbd7
commit 48de631e04
3 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -6,7 +6,8 @@
Minimum items needed to make sure hardware is good.
- find out why we reboot while debugging
- fix activelyReceiving for sx1262
- find out why we reboot while debugging - seems to be power? try using external supply
- DONE install a hardfault handler for null ptrs (if one isn't already installed)
- test my hackedup bootloader on the real hardware
- Use the PMU driver on real hardware

Wyświetl plik

@ -104,7 +104,9 @@ void SX1262Interface::startReceive()
/** Could we send right now (i.e. either not actively receving or transmitting)? */
bool SX1262Interface::isActivelyReceiving()
{
return lora.getPacketLength() > 0;
return false; // FIXME
// FIXME this is not correct - often always true - need to add an extra conditional
// return lora.getPacketLength() > 0;
}
bool SX1262Interface::sleep()

Wyświetl plik

@ -69,6 +69,7 @@ void nrf52Setup()
{
auto why = NRF_POWER->RESETREAS;
// per https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Fpower.html
DEBUG_MSG("Reset reason: 0x%x\n", why);
// Not yet on board