Skip to content

Commit

Permalink
Comment out unused var to get rid of warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern committed Nov 1, 2024
1 parent 701421b commit cbe7400
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ plugins:
uri: https://github.com/trunk-io/plugins
lint:
enabled:
- trufflehog@3.82.13
- trufflehog@3.83.2
- [email protected]
- [email protected]
- [email protected].269
- [email protected].276
- [email protected]
- [email protected]
#- [email protected]
Expand Down
5 changes: 3 additions & 2 deletions src/mesh/NodeDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,12 @@ NodeDB::NodeDB()
memcpy(myNodeInfo.device_id.bytes, &device_id_start, sizeof(device_id_start));
memcpy(myNodeInfo.device_id.bytes + sizeof(device_id_start), &device_id_end, sizeof(device_id_end));
myNodeInfo.device_id.size = 16;
hasUniqueId = true;
// Uncomment below to print the device id
// hasUniqueId = true;
#else
// FIXME - implement for other platforms
#endif
// Uncomment below to print the device id

// if (hasUniqueId) {
// std::string deviceIdHex;
// for (size_t i = 0; i < myNodeInfo.device_id.size; ++i) {
Expand Down

0 comments on commit cbe7400

Please sign in to comment.