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 -1
View File
@@ -142,7 +142,7 @@ I2C::transfer(const uint8_t *send, const unsigned send_len, uint8_t *recv, const
if (recv_len > 0) {
msgv[msgs].addr = get_device_address();
msgv[msgs].flags = I2C_M_READ;
msgv[msgs].flags = I2C_M_RD;
msgv[msgs].buf = recv;
msgv[msgs].len = recv_len;
msgs++;
-2
View File
@@ -42,8 +42,6 @@
#include "../CDev.hpp"
#include <px4_platform_common/i2c.h>
namespace device __EXPORT
{