scmi: fix the typo of gyro sensor

There is an error spell for gyroscope sensors
which provides attribute named "anglvel"
instead of "anglevel".

Signed-off-by: Junnan Wu <junnan01.wu@samsung.com>
This commit is contained in:
Junnan Wu 2024-02-29 10:28:45 +08:00 committed by Manos Pitsidianakis
parent d68f377ab1
commit 74ebb3889e

View File

@ -58,7 +58,7 @@ const UNIT_MAPPING: &[UnitMapping] = &[
unit_exponent: 0,
},
UnitMapping {
channel: "in_anglevel",
channel: "in_anglvel",
unit: scmi::SENSOR_UNIT_RADIANS_PER_SECOND,
unit_exponent: 0,
},