summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVasileios Amoiridis <vassilisamir@gmail.com>2024-09-30 22:23:53 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-06 15:04:44 +0100
commit1960713218dd2f9286cf7485872f08a523862f86 (patch)
tree3d6105231c10d5164f00fc95e26b0287339327c1 /tools/perf/scripts/python/export-to-postgresql.py
parent8b13937b5ef0d986ddc891626b38112a7af0d155 (diff)
iio: pressure: bmp280: Use char instead of s32 for data buffer
As it was reported and discussed here [1], storing the sensor data in an endian aware s32 buffer is not optimal. Advertising the timestamp as an addition of 2 s32 variables which is also implied is again not the best practice. For that reason, change the s32 sensor_data buffer to a u8 buffer and align it properly. [1]: https://lore.kernel.org/linux-iio/73d13cc0-afb9-4306-b498-5d821728c3ba@stanley.mountain/ Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com> Link: https://patch.msgid.link/20240930202353.38203-3-vassilisamir@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions