mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-28 07:13:25 +00:00
Portduino: Only short-circuit hardware support when forcing sim mode
This commit is contained in:
parent
9ded6a5215
commit
cbd30f95f3
@ -202,7 +202,7 @@ void portduinoSetup()
|
|||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (portduino_config.lora_module == use_simradio) {
|
if (portduino_config.force_simradio) {
|
||||||
std::cout << "Running in simulated mode." << std::endl;
|
std::cout << "Running in simulated mode." << std::endl;
|
||||||
portduino_config.MaxNodes = 200; // Default to 200 nodes
|
portduino_config.MaxNodes = 200; // Default to 200 nodes
|
||||||
// Set the random seed equal to TCPPort to have a different seed per instance
|
// Set the random seed equal to TCPPort to have a different seed per instance
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user