From 83041f3550ee5bb83b6f9c4dcae90d59b33e0fb5 Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Tue, 10 Oct 2023 20:07:57 +0800 Subject: Cap the maximum size of GraphData buffer to 32768 values. Signed-off-by: Kang-Che Sung --- Meter.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Meter.h') diff --git a/Meter.h b/Meter.h index c0a44338..e0ca1f07 100644 --- a/Meter.h +++ b/Meter.h @@ -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 { \ -- cgit v1.2.3