mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-13 16:42:07 +00:00
Add hasPKC to deviceMetadata (#4755)
This commit is contained in:
parent
923458bc18
commit
c78302a2ee
@ -1091,6 +1091,9 @@ extern meshtastic_DeviceMetadata getDeviceMetadata()
|
|||||||
deviceMetadata.position_flags = config.position.position_flags;
|
deviceMetadata.position_flags = config.position.position_flags;
|
||||||
deviceMetadata.hw_model = HW_VENDOR;
|
deviceMetadata.hw_model = HW_VENDOR;
|
||||||
deviceMetadata.hasRemoteHardware = moduleConfig.remote_hardware.enabled;
|
deviceMetadata.hasRemoteHardware = moduleConfig.remote_hardware.enabled;
|
||||||
|
#if !(MESHTASTIC_EXCLUDE_PKI)
|
||||||
|
deviceMetadata.hasPKC = true;
|
||||||
|
#endif
|
||||||
return deviceMetadata;
|
return deviceMetadata;
|
||||||
}
|
}
|
||||||
#ifndef PIO_UNIT_TESTING
|
#ifndef PIO_UNIT_TESTING
|
||||||
|
Loading…
Reference in New Issue
Block a user