aboutsummaryrefslogtreecommitdiff
path: root/remote_plot.c
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-04-27 01:27:34 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-04-27 01:27:34 -0700
commitea551f37cc03c691e7f2c002d1ca313fbca8793c (patch)
tree1945afe9558766ef2da4e140a1ae7ad22d930f21 /remote_plot.c
parent7b7e26fb444b488bc2fb6167a68079e228504193 (diff)
use unix time for timestamp instead
Diffstat (limited to 'remote_plot.c')
-rw-r--r--remote_plot.c4
1 files changed, 2 insertions, 2 deletions
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