style: changed variable type
This commit is contained in:
1 parent
ee9e5fd0eb
commit
28853f7f4f
2 files changed
+2
-2
No files matched your search
@@ -75,7 +75,7 @@ extern "C"
|
|||||||
bool p5_gpio_work_mode; /*!< Expander GPIO P5 work mode. */
|
bool p5_gpio_work_mode; /*!< Expander GPIO P5 work mode. */
|
||||||
bool p6_gpio_work_mode; /*!< Expander GPIO P6 work mode. */
|
bool p6_gpio_work_mode; /*!< Expander GPIO P6 work mode. */
|
||||||
bool p7_gpio_work_mode; /*!< Expander GPIO P7 work mode. */
|
bool p7_gpio_work_mode; /*!< Expander GPIO P7 work mode. */
|
||||||
uint8_t interrupt_gpio; /*!< Interrupt GPIO. @attention Must be same for all PCF8574 expanders. */
|
gpio_num_t interrupt_gpio; /*!< Interrupt GPIO. @attention Must be same for all PCF8574 expanders. */
|
||||||
i2c_master_bus_handle_t i2c_handle; /*!< Unique I2C bus handle. @attention Must be same for all PCF8574 expanders. */
|
i2c_master_bus_handle_t i2c_handle; /*!< Unique I2C bus handle. @attention Must be same for all PCF8574 expanders. */
|
||||||
} zh_pcf8574_init_config_t;
|
} zh_pcf8574_init_config_t;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ static const char *TAG = "zh_pcf8574";
|
|||||||
TaskHandle_t zh_pcf8574 = NULL;
|
TaskHandle_t zh_pcf8574 = NULL;
|
||||||
static SemaphoreHandle_t _interrupt_semaphore = NULL;
|
static SemaphoreHandle_t _interrupt_semaphore = NULL;
|
||||||
|
|
||||||
volatile static uint8_t _interrupt_gpio = GPIO_NUM_MAX;
|
volatile static gpio_num_t _interrupt_gpio = GPIO_NUM_MAX;
|
||||||
volatile static uint8_t _i2c_matrix[16] = {0};
|
volatile static uint8_t _i2c_matrix[16] = {0};
|
||||||
static const uint8_t _gpio_matrix[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80};
|
static const uint8_t _gpio_matrix[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80};
|
||||||
static zh_pcf8574_stats_t _stats = {0};
|
static zh_pcf8574_stats_t _stats = {0};
|
||||||
|
|||||||
Reference in new issue
Block a user