Update cw_main.c

pull/1/head
alanbjohnston 7 years ago committed by GitHub
parent 11b16a12c0
commit f7346ca302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -105,6 +105,10 @@ int main(void)
}
printf("Battery voltage = %s\n", mopower[16]);
int tlm_3a = (int)(((strtol(mopower[16], (char **)NULL, 10) * 10) - 65) + 0.5);
printf("TLM 3A = %d \n", tlm_3a);
while(1) { // loop forever
for (channel = 0; channel < 7; channel++) {

Loading…
Cancel
Save

Powered by TurnKey Linux.