Fix size calculation of route/SNR array

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

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
*/