Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Enable buttons driver

  • Loading branch information...
commit bc21daaa5a122f4df6822ef6e92c6acec0b31629 1 parent e98f2f6
@sbourdeauducq sbourdeauducq authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/main.c
View
6 src/main.c
@@ -36,6 +36,7 @@
#include <bsp/milkymist_midi.h>
#include <bsp/milkymist_versions.h>
#include <bsp/milkymist_gpio.h>
+#include <bsp/milkymist_buttons.h>
#include <rtems/stackchk.h>
#include <rtems/shell.h>
#include <rtems/bdpart.h>
@@ -263,9 +264,10 @@ rtems_telnetd_config_table rtems_telnetd_config = {
VIDEO_DRIVER_TABLE_ENTRY, \
MIDI_DRIVER_TABLE_ENTRY, \
VERSIONS_DRIVER_TABLE_ENTRY, \
- GPIO_DRIVER_TABLE_ENTRY
+ GPIO_DRIVER_TABLE_ENTRY, \
+ BUTTONS_DRIVER_TABLE_ENTRY
-#define CONFIGURE_MAXIMUM_DRIVERS 16
+#define CONFIGURE_MAXIMUM_DRIVERS 20
#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
Please sign in to comment.
Something went wrong with that request. Please try again.