|
|
|
@ -1,6 +1,5 @@
@@ -1,6 +1,5 @@
|
|
|
|
|
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
|
|
|
|
#ifndef AP_BATTMONITOR_SMBUS_I2C_H |
|
|
|
|
#define AP_BATTMONITOR_SMBUS_I2C_H |
|
|
|
|
#pragma once |
|
|
|
|
|
|
|
|
|
#include <AP_Common/AP_Common.h> |
|
|
|
|
#include <AP_Param/AP_Param.h> |
|
|
|
@ -30,5 +29,3 @@ private:
@@ -30,5 +29,3 @@ private:
|
|
|
|
|
// buff is the data that was read or will be written
|
|
|
|
|
uint8_t get_PEC(const uint8_t i2c_addr, uint8_t cmd, bool reading, const uint8_t buff[], uint8_t len) const; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
#endif // AP_BATTMONITOR_SMBUS_I2C_H
|
|
|
|
|