Skip to content

Commit

Permalink
Add hasPKC to deviceMetadata (meshtastic#4755)
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-bennett authored and panaceya committed Sep 20, 2024
1 parent 62024fa commit 397ee76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,9 @@ extern meshtastic_DeviceMetadata getDeviceMetadata()
deviceMetadata.position_flags = config.position.position_flags;
deviceMetadata.hw_model = HW_VENDOR;
deviceMetadata.hasRemoteHardware = moduleConfig.remote_hardware.enabled;
#if !(MESHTASTIC_EXCLUDE_PKI)
deviceMetadata.hasPKC = true;
#endif
return deviceMetadata;
}
#ifndef PIO_UNIT_TESTING
Expand Down

0 comments on commit 397ee76

Please sign in to comment.