mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-09 06:01:32 +00:00
![GUVWAF](/assets/img/avatar_default.png)
* If chip was not found, return false for init() * SX1268: Only overwrite frequency when out of bounds Happens when region is still UNSET
15 lines
322 B
C++
15 lines
322 B
C++
#pragma once
|
|
|
|
#include "SX126xInterface.h"
|
|
|
|
/**
|
|
* Our adapter for SX1268 radios
|
|
*/
|
|
class SX1268Interface : public SX126xInterface<SX1268>
|
|
{
|
|
public:
|
|
virtual float getFreq() override;
|
|
|
|
SX1268Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, RADIOLIB_PIN_TYPE busy, SPIClass &spi);
|
|
};
|