Fix size calculation of route/SNR array
This commit is contained in:
1 parent
68d6ff8c24
commit
2f9dcee954
2 files changed
+6
-4
No files matched your search
@@ -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
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user