From f3ed9bcce0c811ba5a7ba1f3a968127edad25289 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 28 Jun 2021 07:11:26 -0400 Subject: [PATCH] fixed sim_mode cpuTemp --- main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index ec304868..642fe018 100644 --- a/main.c +++ b/main.c @@ -833,8 +833,10 @@ 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 - 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; /*