Skip to content

Commit

Permalink
sensor: ping: Use Common:DEVICE_INFORMATION over Ping1d::FIRMWARE_VER…
Browse files Browse the repository at this point in the history
…SION

Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Jun 11, 2024
1 parent 578c795 commit 01db114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sensor/ping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void Ping::startPreConfigurationProcess()
request(Ping1dId::PING_ENABLE);
request(Ping1dId::MODE_AUTO);
request(Ping1dId::PROFILE);
request(Ping1dId::FIRMWARE_VERSION);
request(CommonId::DEVICE_INFORMATION); // We should use this over Ping1dId::FIRMWARE_VERSION
request(Ping1dId::DEVICE_ID);
request(Ping1dId::SPEED_OF_SOUND);

Expand Down

0 comments on commit 01db114

Please sign in to comment.