mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
More refactoring.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@235 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
94d3c1a3f1
commit
798ad15bba
@ -47,6 +47,7 @@
|
||||
//#define PIOS_DONT_USE_COM
|
||||
//#define PIOS_DONT_USE_SDCARD
|
||||
//#define PIOS_DONT_USE_SETTINGS
|
||||
//#define PIOS_DONT_USE_ESC_I2C
|
||||
|
||||
|
||||
/* Defaults for Logging */
|
||||
|
@ -28,16 +28,16 @@
|
||||
#define PIOS_I2C_H
|
||||
|
||||
/* Local defines */
|
||||
#define I2C_ERROR_INVALID_PORT -1
|
||||
#define I2C_ERROR_GENERAL -2
|
||||
#define I2C_ERROR_UNSUPPORTED_TRANSFER_TYPE -3
|
||||
#define I2C_ERROR_TIMEOUT -4
|
||||
#define I2C_ERROR_ARBITRATION_LOST -5
|
||||
#define I2C_ERROR_BUS -6
|
||||
#define I2C_ERROR_SLAVE_NOT_CONNECTED -7
|
||||
#define I2C_ERROR_UNEXPECTED_EVENT -8
|
||||
#define I2C_ERROR_RX_BUFFER_OVERRUN -9
|
||||
#define I2C_ERROR_PREV_OFFSET -128
|
||||
#define I2C_ERROR_INVALID_PORT -1
|
||||
#define I2C_ERROR_GENERAL -2
|
||||
#define I2C_ERROR_UNSUPPORTED_TRANSFER_TYPE -3
|
||||
#define I2C_ERROR_TIMEOUT -4
|
||||
#define I2C_ERROR_ARBITRATION_LOST -5
|
||||
#define I2C_ERROR_BUS -6
|
||||
#define I2C_ERROR_SLAVE_NOT_CONNECTED -7
|
||||
#define I2C_ERROR_UNEXPECTED_EVENT -8
|
||||
#define I2C_ERROR_RX_BUFFER_OVERRUN -9
|
||||
#define I2C_ERROR_PREV_OFFSET -128
|
||||
|
||||
/* Global Types */
|
||||
typedef enum {
|
||||
|
Loading…
x
Reference in New Issue
Block a user