* LR2021 radio on NRF_Promicro Co-authored-by: Copilot <copilot@github.com> * Refactor LR2021 interface includes and conditional compilation for improved clarity Co-authored-by: Copilot <copilot@github.com> * Refactor LR20x0 interface: remove unused includes and update comments for clarity * Fix LR2021 max power definitions and add radio type detection tests * remove potato radio type detection tests * Include placeholder for DCDC - currently requires godmode * Added godmode features - not enabled by default --------- Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
19 lines
429 B
C++
19 lines
429 B
C++
#include "configuration.h"
|
|
|
|
#if defined(USE_LR2021) && RADIOLIB_EXCLUDE_LR2021 != 1
|
|
|
|
#include "LR2021Interface.h"
|
|
#include "error.h"
|
|
|
|
LR2021Interface::LR2021Interface(LockingArduinoHal *hal, RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst,
|
|
RADIOLIB_PIN_TYPE busy)
|
|
: LR20x0Interface(hal, cs, irq, rst, busy)
|
|
{
|
|
}
|
|
|
|
bool LR2021Interface::wideLora()
|
|
{
|
|
return true;
|
|
}
|
|
#endif
|