This commit is contained in:
Ben Meadors 2023-01-28 09:18:06 -06:00
parent 92a43685a8
commit f45a25b358

View File

@ -33,8 +33,7 @@
*/
void setupModules()
{
if (config.device.role != meshtastic_Config_DeviceConfig_Role_REPEATER)
{
if (config.device.role != meshtastic_Config_DeviceConfig_Role_REPEATER) {
#if HAS_BUTTON
inputBroker = new InputBroker();
#endif
@ -82,9 +81,7 @@ void setupModules()
// NOTE! This module must be added LAST because it likes to check for replies from other modules and avoid sending extra
// acks
}
else
{
} else {
adminModule = new AdminModule();
}
routingModule = new RoutingModule();