Add BMP180 and INA219 headers. Fix rp2040_ina219.h last comment format

This commit is contained in:
Pedro Bertoleti 2021-08-05 12:47:43 -03:00 committed by Alan Carvalho de Assis
parent a7be1c9a2e
commit b399c509c8
2 changed files with 11 additions and 1 deletions

View File

@ -75,4 +75,4 @@ int board_ina219_initialize(int busno);
}
#endif
#endif // __BOARDS_ARM_RP2040_COMMON_INCLUDE_RP2040_INA219_H
#endif /* __BOARDS_ARM_RP2040_COMMON_INCLUDE_RP2040_INA219_H */

View File

@ -49,6 +49,16 @@
#include <nuttx/video/fb.h>
#endif
#ifdef CONFIG_SENSORS_INA219
#include <nuttx/sensors/ina219.h>
#include "rp2040_ina219.h"
#endif
#ifdef CONFIG_SENSORS_BMP180
#include <nuttx/sensors/bmp180.h>
#include "rp2040_bmp180.h"
#endif
/****************************************************************************
* Public Functions
****************************************************************************/