drivers/pca9633: make enum anonymous
This commit is contained in:
parent
f9798d98d3
commit
9d068d582a
@ -68,10 +68,10 @@ typedef struct {
|
||||
/**
|
||||
* @brief PCA9633 driver error codes
|
||||
*/
|
||||
typedef enum {
|
||||
enum {
|
||||
PCA9633_OK = 0, /**< Success */
|
||||
PCA9633_ERROR_I2C = 1, /**< I2C communication error */
|
||||
} pca9685_error_t;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief PCA9633 PWM channel definitions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user