Skip to content

Commit d8695c4

Browse files
committed
rg_i2c: Added compile error on unknown rg_i2c_gpio driver
1 parent efb0968 commit d8695c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/retro-go/rg_i2c.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ static const uint8_t gpio_direction_regs[2] = {0x00, 0x01};
158158
static const uint8_t gpio_init_sequence[][2] = {};
159159
static const uint8_t gpio_deinit_sequence[][2] = {};
160160

161+
#else
162+
163+
#error "Unknown I2C GPIO Extender driver type!"
164+
161165
#endif
162166

163167

0 commit comments

Comments
 (0)