diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-05-07 15:20:34 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-05-07 15:20:34 -0700 |
commit | 4be9a136cad4a93a4abe8b64cd3f22f358e13ca2 (patch) | |
tree | 3f50908d537f838979e693c1b009746e49b08ad0 /remote_plot.c | |
parent | 3941d395bd4d845f66d649be35954ed126f71b1e (diff) |
more profer macro
Diffstat (limited to 'remote_plot.c')
-rw-r--r-- | remote_plot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |