diff options
author | Explorer09 <explorer09@gmail.com> | 2023-10-10 20:07:57 +0800 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-10-10 21:57:39 +0200 |
commit | 83041f3550ee5bb83b6f9c4dcae90d59b33e0fb5 (patch) | |
tree | fc08b831b68e1eb762af71aa005826687d865235 /Meter.h | |
parent | 1a9ae38b5b8454a32863aa24bf2546be54f4b558 (diff) |
Cap the maximum size of GraphData buffer to 32768 values.
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
Diffstat (limited to 'Meter.h')
-rw-r--r-- | Meter.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,6 +20,7 @@ in the source distribution for its full text. #define METER_TXTBUFFER_LEN 256 +#define MAX_METER_GRAPHDATA_VALUES 32768 #define METER_BUFFER_CHECK(buffer, size, written) \ do { \ |