Update main.c last test

fc-jy
Alan Johnston 11 months ago committed by GitHub
parent c8111dff0b
commit 04b11ee617
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 = 0x00; // 0xffff; x = 0xfffc; // 0xffff;
y = 0xfffc; // 0x0000; y = 0x0; // 0x0000;
z = 0x00; // 0xffff; z = 0xfffc; // 0xffff;
b = 0xfffc; 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.