drivers/pca9633: make enum anonymous

This commit is contained in:
Hendrik van Essen 2020-07-16 14:44:51 +02:00
parent f9798d98d3
commit 9d068d582a

View File

@ -68,10 +68,10 @@ typedef struct {
/** /**
* @brief PCA9633 driver error codes * @brief PCA9633 driver error codes
*/ */
typedef enum { enum {
PCA9633_OK = 0, /**< Success */ PCA9633_OK = 0, /**< Success */
PCA9633_ERROR_I2C = 1, /**< I2C communication error */ PCA9633_ERROR_I2C = 1, /**< I2C communication error */
} pca9685_error_t; };
/** /**
* @brief PCA9633 PWM channel definitions * @brief PCA9633 PWM channel definitions