diff options
Diffstat (limited to 'puzzle/dummy/main.cpp')
-rw-r--r-- | puzzle/dummy/main.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/puzzle/dummy/main.cpp b/puzzle/dummy/main.cpp index 217ce94..41d8993 100644 --- a/puzzle/dummy/main.cpp +++ b/puzzle/dummy/main.cpp @@ -3,24 +3,8 @@ #include <FreeRTOS.h> #include <task.h> -#include "pb-mod.h" -#include "pb-route.h" -#include "pb-send.h" - -const char * PB_MOD_NAME = "dummy"; -const i2c_addr_t PB_MOD_ADDR = 0x69; - void setup() { Serial.begin(115200); - - pb_buf_t buf = pb_send_magic_res(); - Serial.print("response bytes:"); - for (size_t i = 0; i < buf.size; i++) { - Serial.print(" "); - Serial.print(buf.data[i]); - } - Serial.print("\r\n"); - pb_buf_free(&buf); } void loop() { @@ -28,7 +12,3 @@ void loop() { vTaskDelay(1000 / portTICK_PERIOD_MS); } -void vApplicationMallocFailedHook(void) { - Serial.println("malloc failed!"); -} - |