Xiang Xiao
4c706771c3
sched/wdog: Replace all callback argument from uint32_t to wdparm_t
...
and alwasy cast the argument of wd_start to wdparm_t
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-08 17:30:26 -03:00
Xiang Xiao
cde88cabcc
Run codespell -w with the latest dictonary again
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-02-23 22:27:46 +01:00
Xiang Xiao
5c80b94820
Replace #include <semaphore.h> to #include <nuttx/semaphore.h>
...
Since the kernel side should call nxsem_xxx instead and remove the unused inclusion
2020-02-01 08:27:30 -06:00
Xiang Xiao
6a3c2aded6
Fix wait loop and void cast ( #24 )
...
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
Gregory Nutt
d1584d60a2
drivers/sensors: Run all sensor drivers through tools/nxstyle, correcting as many complaints as possible.
2019-12-06 19:07:34 -06:00
Alin Jerpelea
ffb4f00da9
Merged in alinjerpelea/nuttx (pull request #944 )
...
drivers: sensors: add I2C Bosch BMP280 and I2C Asahi AK09911/AK09912 Compass Sensor
* drivers: sensors: add Bosch BMP280 Barometic Pressure Sensor
add driver for the Bosch BMP280 barometic pressure sensor
This sensor is connected over I2C bus
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* drivers: sensors: add Asahi AK09911/AK09912 Compass Sensor
add driver for AK09911/AK09912 Compass sensor over I2C bus
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-10 11:31:36 +00:00