aboutsummaryrefslogtreecommitdiff
path: root/puzzle/dummy/main.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 15:39:03 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 15:39:03 +0200
commit1e54994000d1c26e9cbd724b76da5ceb273f9cbb (patch)
tree3c3fb7fab24a7d91438d22555daecc60d7962c30 /puzzle/dummy/main.cpp
parent573ee2dd6790c00c9e0f709f222bc2a68f015d6d (diff)
i2c reply kinda working
Diffstat (limited to 'puzzle/dummy/main.cpp')
-rw-r--r--puzzle/dummy/main.cpp20
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!");
-}
-