File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ void setup() {
6161
6262 // Create Nunchuk input source - must be done before GPIO input source otherwise it would
6363 // disable the pullups on the i2c pins.
64- static NunchukInput nunchuk;
64+ // static NunchukInput nunchuk;
6565
6666 // Create GPIO input source and use it to read button states for checking button holds.
6767 static GpioButtonInput gpio_input (button_mappings, button_count);
@@ -74,7 +74,10 @@ void setup() {
7474 }
7575
7676 // Create array of input sources to be used.
77- static InputSource *input_sources[] = { &gpio_input, &nunchuk };
77+ static InputSource *input_sources[] = {
78+ &gpio_input,
79+ // &nunchuk,
80+ };
7881 size_t input_source_count = sizeof (input_sources) / sizeof (InputSource *);
7982
8083 backend_count =
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ void setup() {
6363
6464 // Create Nunchuk input source - must be done before GPIO input source otherwise it would
6565 // disable the pullups on the i2c pins.
66- static NunchukInput nunchuk;
66+ // static NunchukInput nunchuk;
6767
6868 // Create GPIO input source and use it to read button states for checking button holds.
6969 static GpioButtonInput gpio_input (button_mappings, button_count);
@@ -83,7 +83,10 @@ void setup() {
8383 digitalWrite (pinout.mux , HIGH);
8484
8585 // Create array of input sources to be used.
86- static InputSource *input_sources[] = { &gpio_input, &nunchuk };
86+ static InputSource *input_sources[] = {
87+ &gpio_input,
88+ // &nunchuk,
89+ };
8790 size_t input_source_count = sizeof (input_sources) / sizeof (InputSource *);
8891
8992 backend_count =
You can’t perform that action at this time.
0 commit comments