Skip to content

Commit a157d7f

Browse files
committed
!deleteme: Disable ADC driver.
We still need to add some logic to selectively enable the block device driver and the ADC driver, which both use SPI0 on EV3. We don't have that yet, so don't let that get in the way of interesting SPI contributions, and just disable the ADC on this development branch.
1 parent e3ac100 commit a157d7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pbio/platform/ev3/pbdrvconfig.h

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

44
// platform-specific configuration for LEGO MINDSTORMS EV3
55

6-
#define PBDRV_CONFIG_ADC (1)
7-
#define PBDRV_CONFIG_ADC_EV3 (1)
6+
#define PBDRV_CONFIG_ADC (0)
7+
#define PBDRV_CONFIG_ADC_EV3 (0)
88
#define PBDRV_CONFIG_ADC_EV3_ADC_NUM_CHANNELS (16)
99

1010
#define PBDRV_CONFIG_CLOCK (1)

0 commit comments

Comments
 (0)