From 62f9f2c18e42a1d919136a8a0b2c2b6901d070a3 Mon Sep 17 00:00:00 2001 From: Tibo Ulens Date: Tue, 15 Feb 2022 16:06:24 +0100 Subject: [PATCH] fix callback_game_start signature --- src/modules/puzzle_maze/puzzle_maze.ino | 3 +-- .../puzzle_spectroscopy_amplifier.ino | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modules/puzzle_maze/puzzle_maze.ino b/src/modules/puzzle_maze/puzzle_maze.ino index 1fcb320..50f5e24 100644 --- a/src/modules/puzzle_maze/puzzle_maze.ino +++ b/src/modules/puzzle_maze/puzzle_maze.ino @@ -12,7 +12,6 @@ // blue = down A1 // orange = left A2 // green = right A3 -#define LedControl lc = LedControl(LED_DIN_PIN, LED_CLK_PIN, LED_CS_PIN, 1); @@ -37,7 +36,7 @@ void loop() { } } -void callback_game_start() { +void callback_game_start(uint8_t puzzle_modules) { } diff --git a/src/modules/puzzle_spectroscopy_amplifier/puzzle_spectroscopy_amplifier.ino b/src/modules/puzzle_spectroscopy_amplifier/puzzle_spectroscopy_amplifier.ino index 0a3a888..95e5f8f 100644 --- a/src/modules/puzzle_spectroscopy_amplifier/puzzle_spectroscopy_amplifier.ino +++ b/src/modules/puzzle_spectroscopy_amplifier/puzzle_spectroscopy_amplifier.ino @@ -66,7 +66,7 @@ void loop() { digitalWrite(DISC_LED, disc_value); } -void callback_game_start() { +void callback_game_start(uint8_t puzzle_modules) { // just instantly solve obus_module::solve(); }