platforms: remove unnecessary i2c platform abstraction

This commit is contained in:
Daniel Agar
2020-01-11 11:55:06 -05:00
parent 54e4b65daa
commit d1e3ff553b
11 changed files with 7 additions and 180 deletions
+1 -2
View File
@@ -42,7 +42,6 @@
#include <px4_platform_common/log.h>
#include <px4_platform_common/module.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/i2c.h>
namespace i2cdetect
{
@@ -80,7 +79,7 @@ int detect(int bus)
do {
uint8_t send_data = 0;
uint8_t recv_data = 0;
px4_i2c_msg_t msgv[2];
i2c_msg_s msgv[2] {};
// send
msgv[0].frequency = 100000;