Skip to content

Commit b5d059f

Browse files
committed
allow custom MO_MAX_STOPTXDATA_LEN (addresses #299)
1 parent c0732dc commit b5d059f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/MicroOcpp/Model/Metering/MeterStore.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// matth-x/MicroOcpp
2-
// Copyright Matthias Akstaller 2019 - 2023
2+
// Copyright Matthias Akstaller 2019 - 2024
33
// MIT License
44

55
#include <MicroOcpp/Model/Metering/MeterStore.h>
@@ -9,7 +9,9 @@
99

1010
#include <algorithm>
1111

12+
#ifndef MO_MAX_STOPTXDATA_LEN
1213
#define MO_MAX_STOPTXDATA_LEN 4
14+
#endif
1315

1416
using namespace MicroOcpp;
1517

0 commit comments

Comments
 (0)