mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-04 11:49:58 +00:00
16 lines
469 B
C
16 lines
469 B
C
|
#pragma once
|
||
|
|
||
|
#include "RadioLibInterface.h"
|
||
|
|
||
|
class SX1262Interface : public RadioLibInterface
|
||
|
{
|
||
|
SX1262 lora;
|
||
|
|
||
|
public:
|
||
|
SX1262Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, RADIOLIB_PIN_TYPE busy, SPIClass &spi);
|
||
|
|
||
|
/// Initialise the Driver transport hardware and software.
|
||
|
/// Make sure the Driver is properly configured before calling init().
|
||
|
/// \return true if initialisation succeeded.
|
||
|
virtual bool init();
|
||
|
};
|