Skip to content

Commit

Permalink
Default ext. notification output for RAK to LED #2
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern committed Jun 25, 2023
1 parent e677a02 commit 6752cff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mesh/NodeDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ void NodeDB::installDefaultModuleConfig()
moduleConfig.has_store_forward = true;
moduleConfig.has_telemetry = true;
moduleConfig.has_external_notification = true;
#if defined(RAK_4630) || defined(RAK11310)
// Default to RAK led pin 2 (blue)
moduleConfig.external_notification.output = PIN_LED2;
#endif
moduleConfig.has_canned_message = true;

strncpy(moduleConfig.mqtt.address, default_mqtt_address, sizeof(moduleConfig.mqtt.address));
Expand Down

0 comments on commit 6752cff

Please sign in to comment.