Skip to content

Commit ee90e96

Browse files
ArcaneNibbledlech
authored andcommitted
pbio/drv/gpio/gpio_ev3.c: Rename config TIAM1808 -> EV3
The only platform we have with this SoC is the EV3, so rename this configuration parameter to match.
1 parent 5173fd4 commit ee90e96

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/pbio/drv/gpio/gpio_ev3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include "pbdrv/config.h"
55

6-
#if PBDRV_CONFIG_GPIO_TIAM1808
6+
#if PBDRV_CONFIG_GPIO_EV3
77

88
#include <stdint.h>
99

@@ -103,4 +103,4 @@ void pbdrv_gpio_set_pull(const pbdrv_gpio_t *gpio, pbdrv_gpio_pull_t pull) {
103103
// Not implemented for TI AM1808 since EV3 does not use software pull-up/pull-down.
104104
}
105105

106-
#endif // PBDRV_CONFIG_GPIO_TIAM1808
106+
#endif // PBDRV_CONFIG_GPIO_EV3

lib/pbio/platform/ev3/pbdrvconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#define PBDRV_CONFIG_DISPLAY_NUM_ROWS (128)
5353

5454
#define PBDRV_CONFIG_GPIO (1)
55-
#define PBDRV_CONFIG_GPIO_TIAM1808 (1)
55+
#define PBDRV_CONFIG_GPIO_EV3 (1)
5656

5757
#define PBDRV_CONFIG_HAS_PORT_A (1)
5858
#define PBDRV_CONFIG_HAS_PORT_B (1)

0 commit comments

Comments
 (0)