Skip to content

Commit 86c81f6

Browse files
committed
fix(port): fix discarded qualifiers warning @isthaison (#22)
Closes #22
1 parent e79a638 commit 86c81f6

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.1.0"
1+
version: "1.1.1"
22
description: ESP32_IO_Expander is a library designed for driving IO expander chips using ESP SoCs
33
url: https://github.com/esp-arduino-libs/ESP32_IO_Expander
44
repository: https://github.com/esp-arduino-libs/ESP32_IO_Expander.git

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESP32_IO_Expander
2-
version=1.1.0
2+
version=1.1.1
33
author=espressif
44
maintainer=espressif
55
sentence=ESP32_IO_Expander is a library designed for driving IO expander chips using ESP SoCs

src/port/esp_io_expander.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typedef enum {
2626
REG_DIRECTION,
2727
} reg_type_t;
2828

29-
static char *TAG = "io_expander";
29+
static const char *TAG = "io_expander";
3030

3131
static esp_err_t write_reg(esp_io_expander_handle_t handle, reg_type_t reg, uint32_t value);
3232
static esp_err_t read_reg(esp_io_expander_handle_t handle, reg_type_t reg, uint32_t *value);

src/port/esp_io_expander_ht8574.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ typedef struct {
4040
} regs;
4141
} esp_io_expander_ht8574_t;
4242

43-
static char *TAG = "ht8574";
43+
static const char *TAG = "ht8574";
4444

4545
static esp_err_t read_input_reg(esp_io_expander_handle_t handle, uint32_t *value);
4646
static esp_err_t write_output_reg(esp_io_expander_handle_t handle, uint32_t value);

src/port/esp_io_expander_tca9554.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ typedef struct {
4545
} regs;
4646
} esp_io_expander_tca9554_t;
4747

48-
static char *TAG = "tca9554";
48+
static const char *TAG = "tca9554";
4949

5050
static esp_err_t read_input_reg(esp_io_expander_handle_t handle, uint32_t *value);
5151
static esp_err_t write_output_reg(esp_io_expander_handle_t handle, uint32_t value);

src/port/esp_io_expander_tca95xx_16bit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ typedef struct {
4545
} regs;
4646
} esp_io_expander_tca95xx_16bit_t;
4747

48-
static char *TAG = "tca95xx_16";
48+
static const char *TAG = "tca95xx_16";
4949

5050
static esp_err_t read_input_reg(esp_io_expander_handle_t handle, uint32_t *value);
5151
static esp_err_t write_output_reg(esp_io_expander_handle_t handle, uint32_t value);

0 commit comments

Comments
 (0)