diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-16 13:28:00 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-16 13:28:00 +0200 |
commit | a3fba8221cb26ce43958f42dd1f58cc049c3bba6 (patch) | |
tree | 2afca47358d1e7d4f425c3944285d36231f8711d /lib/pbdrv/pb-route.c | |
parent | 30171b5c84dd90ee9de9f3efc395766497a86c85 (diff) |
WIP fixing memory handling
Diffstat (limited to 'lib/pbdrv/pb-route.c')
-rw-r--r-- | lib/pbdrv/pb-route.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/pbdrv/pb-route.c b/lib/pbdrv/pb-route.c index 279b430..84d0fa0 100644 --- a/lib/pbdrv/pb-route.c +++ b/lib/pbdrv/pb-route.c @@ -1,3 +1,6 @@ +#include <FreeRTOS.h> +#include <task.h> + #include "pb-route.h" #include "pb-mod.h" #include "pb-send.h" @@ -5,10 +8,6 @@ #include <string.h> -// FIXME: this should be removed (see handover: RP2040 I2C limitations) -#include <FreeRTOS.h> -#include <task.h> - __weak bool pb_hook_route_msg(pb_msg_t * msg) { return false; } __weak void pb_route_msg(pb_msg_t * msg) { if (pb_hook_route_msg(msg)) return; |