* 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>
16 lines
381 B
C++
16 lines
381 B
C++
#pragma once
|
|
#if RADIOLIB_EXCLUDE_LR2021 != 1
|
|
#include "LR20x0Interface.h"
|
|
|
|
/**
|
|
* Our adapter for LR2021 radios
|
|
*/
|
|
class LR2021Interface : public LR20x0Interface<LR2021>
|
|
{
|
|
public:
|
|
LR2021Interface(LockingArduinoHal *hal, RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst,
|
|
RADIOLIB_PIN_TYPE busy);
|
|
bool wideLora() override;
|
|
};
|
|
#endif
|