sforkowany z mirror/meshtastic-firmware
disable activelyReceiving for sx1262 for now - it doesn't yet work
rodzic
66b11bcbd7
commit
48de631e04
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue