mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-14 17:12:08 +00:00
no need for lora CS control on linux, the spi controller handles it
This commit is contained in:
parent
a7f93de3ad
commit
ce4ccf3cc4
@ -402,7 +402,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define RF95_SCK 5
|
#define RF95_SCK 5
|
||||||
#define RF95_MISO 19
|
#define RF95_MISO 19
|
||||||
#define RF95_MOSI 27
|
#define RF95_MOSI 27
|
||||||
#define RF95_NSS 18
|
#define RF95_NSS RADIOLIB_NC // the ch341f spi controller does CS for us
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -90,5 +90,5 @@ void portduinoSetup() {
|
|||||||
printf("Setting up Meshtastic on Porduino...\n");
|
printf("Setting up Meshtastic on Porduino...\n");
|
||||||
gpioBind(new R595PolledIrqPin());
|
gpioBind(new R595PolledIrqPin());
|
||||||
// gpioBind((new SimGPIOPin(LORA_RESET, "LORA_RESET")));
|
// gpioBind((new SimGPIOPin(LORA_RESET, "LORA_RESET")));
|
||||||
gpioBind((new SimGPIOPin(RF95_NSS, "RF95_NSS"))->setSilent());
|
// gpioBind((new SimGPIOPin(RF95_NSS, "RF95_NSS"))->setSilent());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user