Skip to content

Commit

Permalink
Replaces fixed (2u) value for WIRE_INTERFACES_COUNT with alias for WI…
Browse files Browse the repository at this point in the history
…RE_HOWMANY which is set by...

variants to indicate the number of I2Cs available to the user.
  • Loading branch information
freespace committed Jan 2, 2024
1 parent 1367c99 commit e7e1ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variants/generic/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define NUM_ANALOG_INPUTS (4u)
#define NUM_ANALOG_OUTPUTS (0u)
#define ADC_RESOLUTION (12u)
#define WIRE_INTERFACES_COUNT (2u)
#define WIRE_INTERFACES_COUNT (WIRE_HOWMANY)

#ifdef PIN_LED
#define LED_BUILTIN PIN_LED
Expand Down

0 comments on commit e7e1ad1

Please sign in to comment.