mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-11 12:27:28 +00:00
* Add support for SX1281 on 2.4 GHz * only allow wide BW settings when the right chip is detected * portduino cannot use this chip yet as it uses an old modified version of radiolib * missed a spot * Attempt to supress false positive * Attempt to supress false positive * Trying casing from the cpp-check manual * Trying casing from the cpp-check manual * Inline suppr should be default but... * Maybe casting it will make the damn thing shut up Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
17 lines
321 B
C++
17 lines
321 B
C++
#pragma once
|
|
|
|
#include "SX128xInterface.h"
|
|
|
|
/**
|
|
* Our adapter for SX1281 radios
|
|
*/
|
|
|
|
#if !defined(ARCH_PORTDUINO)
|
|
|
|
class SX1281Interface : public SX128xInterface<SX1281>
|
|
{
|
|
public:
|
|
SX1281Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, RADIOLIB_PIN_TYPE busy, SPIClass &spi);
|
|
};
|
|
|
|
#endif |