1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/isl29020
Ludwig Ortmann a729afa9ec drivers/isl29020: fix return value integer error
Problem:

Since `i2c_read_reg` returns (signed) `int` values, the result can
be negative. However, the variable used to save the result is unsigned.

Fix:

Add and use a signed variable for return value storing.
2015-05-02 08:35:38 +02:00
..
include drivers : Update include guards to remove leading underscores 2015-03-30 20:00:28 +05:30
isl29020.c drivers/isl29020: fix return value integer error 2015-05-02 08:35:38 +02:00
Makefile drivers: added driver for ISL29020 light sensor 2014-10-15 14:54:04 +02:00