From 2b1d2c3e8fcc2da8f4211e881efed206df5a66e5 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 28 Jun 2021 07:24:25 -0400 Subject: [PATCH] fixed sim mode temp --- main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.c b/main.c index 642fe018..71786a59 100644 --- a/main.c +++ b/main.c @@ -833,10 +833,8 @@ void get_tlm(void) { tlm[3][B] = (int)(voltage[map[BUS]] * 10.0) % 100; // 5V supply to Pi -// tlm[4][A] = (int)((95.8 - cpuTemp) / 1.48 + 0.5) % 100; // was [B] but didn't display in online TLM spreadsheet tlm[4][A] = (int)((95.8 - other[IHU_TEMP]) / 1.48 + 0.5) % 100; // was [B] but didn't display in online TLM spreadsheet - - + tlm[6][B] = 0; tlm[6][D] = 49 + rand() % 3; /*