Add hasPKC to deviceMetadata (#4755)

This commit is contained in:
Jonathan Bennett
2024-09-17 19:34:05 -05:00
committed by GitHub
co-authored by GitHub
parent 923458bc18
commit c78302a2ee
+3
View File
@@ -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