From ea551f37cc03c691e7f2c002d1ca313fbca8793c Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sun, 27 Apr 2025 01:27:34 -0700 Subject: use unix time for timestamp instead --- remote_plot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote_plot.c') diff --git a/remote_plot.c b/remote_plot.c index c2aa1fc..40e11d1 100644 --- a/remote_plot.c +++ b/remote_plot.c @@ -34,9 +34,9 @@ // max wire signed number maybe is -32768 to 32767 // voltage max format 6 bytes ,5.999 // temp max format 6 bytes ,-49.9 -// timestamp max 8 bytes 86400000 +// timestamp max 10 bytes 1745742182 // 1 timestamp, 96 voltage, 32 temp, 1 \n, 1 \0 -// 8+96*7+32*7+1+1=906 bytes +// 10+96*7+32*7+1+1=908 bytes #define MAX_XFER_BUF_SIZE 778 #define LEN 10 -- cgit v1.2.3-70-g09d2