no need for lora CS control on linux, the spi controller handles it

This commit is contained in:
Kevin Hester 2021-01-02 19:40:24 +08:00
parent a7f93de3ad
commit ce4ccf3cc4
2 changed files with 2 additions and 2 deletions

View File

@ -402,7 +402,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RF95_SCK 5
#define RF95_MISO 19
#define RF95_MOSI 27
#define RF95_NSS 18
#define RF95_NSS RADIOLIB_NC // the ch341f spi controller does CS for us
#endif

View File

@ -90,5 +90,5 @@ void portduinoSetup() {
printf("Setting up Meshtastic on Porduino...\n");
gpioBind(new R595PolledIrqPin());
// gpioBind((new SimGPIOPin(LORA_RESET, "LORA_RESET")));
gpioBind((new SimGPIOPin(RF95_NSS, "RF95_NSS"))->setSilent());
// gpioBind((new SimGPIOPin(RF95_NSS, "RF95_NSS"))->setSilent());
}