portduino cannot use this chip yet as it uses an old modified version of radiolib

This commit is contained in:
Thomas Göttgens
2022-10-17 10:31:29 +02:00
parent 38fed8a61e
commit 5f4b93aba2
5 changed files with 20 additions and 3 deletions

View File

@@ -2,6 +2,8 @@
#include "SX128xInterface.h"
#include "error.h"
#if !defined(ARCH_PORTDUINO)
// Particular boards might define a different max power based on what their hardware can do
#ifndef SX128X_MAX_POWER
#define SX128X_MAX_POWER 22
@@ -241,3 +243,5 @@ bool SX128xInterface<T>::sleep()
return true;
}
#endif