Fix size calculation of route/SNR array

This commit is contained in:
GUVWAF committed 2024-09-09 19:13:00 +02:00
1 parent 68d6ff8c24
commit 2f9dcee954
2 files changed
+6 -4

No files matched your search

+2
View File
@@ -1,6 +1,8 @@
#pragma once
#include "ProtobufModule.h"
#define ROUTE_SIZE sizeof(((meshtastic_RouteDiscovery *)0)->route) / sizeof(((meshtastic_RouteDiscovery *)0)->route[0])
/**
* A module that traces the route to a certain destination node
*/