fixed sim mode temp

pull/127/head
alanbjohnston 5 years ago committed by GitHub
parent f3ed9bcce0
commit 2b1d2c3e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
/*

Loading…
Cancel
Save

Powered by TurnKey Linux.