Skip to content

Commit 70063a3

Browse files
daijoubuCopilot
andauthored
Potential fix for pull request finding
Update comment to reflect unique ID used instead of dummy value. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 282afb7 commit 70063a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/drivers/dronecan/dronecan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ static void handle_GetNodeInfo(CanardInstance *ins, CanardRxTransfer *transfer)
500500
pkt.hardware_version.major = 1;
501501
pkt.hardware_version.minor = 0;
502502

503-
// just setting all 16 bytes to 1 for testing
503+
// populate the hardware unique ID from the STM32 device unique ID
504504
canardSTM32GetUniqueID(pkt.hardware_version.unique_id);
505505

506506
strncpy((char*)pkt.name.data, FC_FIRMWARE_NAME, sizeof(pkt.name.data));

0 commit comments

Comments
 (0)