From 048bb39f75579644a289111465317d0ff3a62336 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 23 Oct 2018 17:40:29 -0400 Subject: [PATCH] Update cw_main.c --- cw/cw_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cw/cw_main.c b/cw/cw_main.c index 8dfaa2e8..6b32d019 100644 --- a/cw/cw_main.c +++ b/cw/cw_main.c @@ -527,8 +527,8 @@ int get_tlm(int tlm[][5]) { } tlm[1][B] = (int) (98.5 - ina219[4]/400); // +X current - tlm[1][C] = (int) (98.5 - ina219[7]/400); // +Y current - tlm[1][D] = (int) (98.5 - ina219[10]/400); // +Z current + tlm[1][D] = (int) (98.5 - ina219[7]/400); // +Y current + tlm[1][C] = (int) (98.5 - ina219[10]/400); // +Z (actually -X current, AO-7 didn't have a Z solar panel?) // int tlm_3b = (int)(strtof(ina219[0], NULL) * 10.0); // int tlm_2d = (int)(50.0 + strtof(ina219[1], NULL)/40.0);