Skip to content

Commit

Permalink
Mark IO_REG_BASE variables as unused on the ESP8266
Browse files Browse the repository at this point in the history
  • Loading branch information
nomis authored and Tihomir Heidelberg committed Sep 19, 2024
1 parent dae0fca commit 258f40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/OneWire_direct_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
#define PIN_TO_BASEREG(pin) ((volatile uint32_t*) GPO)
#define PIN_TO_BITMASK(pin) (1UL << (pin))
#define IO_REG_TYPE uint32_t
#define IO_REG_BASE_ATTR
#define IO_REG_BASE_ATTR __attribute__((unused))
#define IO_REG_MASK_ATTR

static inline __attribute__((always_inline))
Expand Down

0 comments on commit 258f40b

Please sign in to comment.