From 4be9a136cad4a93a4abe8b64cd3f22f358e13ca2 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 7 May 2025 15:20:34 -0700 Subject: more profer macro --- remote_plot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote_plot.c') diff --git a/remote_plot.c b/remote_plot.c index 1d1cab7..9be27a1 100644 --- a/remote_plot.c +++ b/remote_plot.c @@ -44,7 +44,7 @@ #define ENTRY_SIZE 1067 // 16 KiB == 16384 bytes // https://api.libssh.org/stable/libssh_tutor_sftp.html -#define MAX_XFER_BUF_SIZE 16384/ENTRY_SIZE*ENTRY_SIZE +#define MAX_XFER_BUF_SIZE (16384/ENTRY_SIZE*ENTRY_SIZE) const char *checkbutton_names[]={ "0x630_BMS_M1_Cell_1_Voltage", -- cgit v1.2.3-70-g09d2