Skip to content

Commit

Permalink
drv/ioport_ev3dev_stretch: remove driver
Browse files Browse the repository at this point in the history
The ioport_ev3dev_stretch driver is not being used, so we can remove it.
  • Loading branch information
dlech committed Jun 29, 2021
1 parent 219b3cd commit 32c00cc
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 239 deletions.
1 change: 0 additions & 1 deletion bricks/ev3dev/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ PYBRICKS_LIB_SRC_C = $(addprefix lib/,\
pbio/drv/counter/counter_core.c \
pbio/drv/counter/counter_ev3dev_stretch_iio.c \
pbio/drv/ev3dev_stretch/motor.c \
pbio/drv/ioport/ioport_ev3dev_stretch.c \
pbio/platform/motors/settings.c \
pbio/platform/ev3dev_stretch/status_light.c \
pbio/src/color/conversion.c \
Expand Down
214 changes: 0 additions & 214 deletions lib/pbio/drv/ioport/ioport_ev3dev_stretch.c

This file was deleted.

14 changes: 0 additions & 14 deletions lib/pbio/drv/ioport/ioport_ev3dev_stretch.h

This file was deleted.

3 changes: 0 additions & 3 deletions lib/pbio/platform/ev3dev_stretch/pbdrvconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@

#define PBDRV_CONFIG_COUNTER_COUNTS_PER_DEGREE (2)

#define PBDRV_CONFIG_IOPORT (1)
#define PBDRV_CONFIG_IOPORT_EV3DEV_STRETCH (1)

#define PBDRV_CONFIG_HAS_PORT_A (1)
#define PBDRV_CONFIG_HAS_PORT_B (1)
#define PBDRV_CONFIG_HAS_PORT_C (1)
Expand Down
3 changes: 0 additions & 3 deletions lib/pbio/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ AUTOSTART_PROCESSES(
#if PBDRV_CONFIG_ADC
&pbdrv_adc_process,
#endif
#if PBDRV_CONFIG_IOPORT_EV3DEV_STRETCH
&pbdrv_ioport_ev3dev_stretch_process,
#endif
#if PBDRV_CONFIG_IOPORT_LPF2
&pbdrv_ioport_lpf2_process,
#endif
Expand Down
4 changes: 0 additions & 4 deletions lib/pbio/src/processes.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ PROCESS_NAME(pbdrv_adc_process);
#endif


#if PBDRV_CONFIG_IOPORT_EV3DEV_STRETCH
PROCESS_NAME(pbdrv_ioport_ev3dev_stretch_process);
#endif

#if PBDRV_CONFIG_IOPORT_LPF2
PROCESS_NAME(pbdrv_ioport_lpf2_process);
#endif
Expand Down

0 comments on commit 32c00cc

Please sign in to comment.