Update main.c try real values

fc-jy
Alan Johnston 11 months ago committed by GitHub
parent 04b11ee617
commit 9cc655235e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2315,10 +2315,10 @@ void get_tlm_fc() {
uint16_t z = (uint16_t)((voltage[map[PLUS_Z]] + voltage[map[MINUS_Z]]) * 1000); uint16_t z = (uint16_t)((voltage[map[PLUS_Z]] + voltage[map[MINUS_Z]]) * 1000);
uint16_t b = (uint16_t)(voltage[map[BAT]] * 1000); uint16_t b = (uint16_t)(voltage[map[BAT]] * 1000);
x = 0xfffc; // 0xffff; // x = 0xfffc; // 0xffff;
y = 0x0; // 0x0000; // y = 0x0; // 0x0000;
z = 0xfffc; // 0xffff; // z = 0xfffc; // 0xffff;
b = 0x000c; // b = 0x000c;
printf("X %x Y %x Z %x B %x\n", x, y, z, b); printf("X %x Y %x Z %x B %x\n", x, y, z, b);

Loading…
Cancel
Save

Powered by TurnKey Linux.