Skip to content

Conversation

@avisconti
Copy link
Contributor

@avisconti avisconti commented Feb 5, 2024

Fix -Wdouble-promotion warning just using sensor_value_to_double() routine.

Fixes #68284

If ok to everybody it may replace #68285, as this PR do not touch the lsm6dsl driver at all.

Fix -Wdouble-promotion warning just using sensor_value_to_double()
routine.

Fixes zephyrproject-rtos#68284

Signed-off-by: Armando Visconti <armando.visconti@st.com>
@avisconti avisconti added bug The issue is a bug, or the PR is fixing a bug area: Sensors Sensors area: Samples Samples labels Feb 5, 2024
@avisconti avisconti added this to the v3.6.0 milestone Feb 5, 2024
@avisconti avisconti self-assigned this Feb 5, 2024
@erwango erwango requested review from yperess and removed request for yperess February 5, 2024 15:06
@avisconti
Copy link
Contributor Author

@FRASTM I tested it with west build -p auto -b disco_l475_iot1 samples/sensor/lsm6dsl. Could you possibly do your verifications at your side, just in case I missed something? Thanks!

@carlescufi carlescufi merged commit 8067682 into zephyrproject-rtos:main Feb 5, 2024
@avisconti avisconti deleted the fix-68284 branch February 6, 2024 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Samples Samples area: Sensors Sensors bug The issue is a bug, or the PR is fixing a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compilation warning -Wdouble-promotion on samples/sensor/lsm6dsl

6 participants