mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-22 22:35:35 -04:00
no need for lora CS control on linux, the spi controller handles it
This commit is contained in:
1 parent
a7f93de3ad
commit
ce4ccf3cc4
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
Reference in new issue
Block a user