Update main.c don't need to redefine val

fc-jy-img
Alan Johnston 11 months ago committed by GitHub
parent 2288de9b63
commit 4970765985
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2329,7 +2329,7 @@ void get_tlm_fc() { // FunCube Mode telemetry generation
int pos = 56;
source_bytes[pos++] = 0x55;
source_bytes[pos++] = 0x68;
int val;
// int val;
if (image_file != NULL) {
printf("Writing image data to payload\n");
while (((val = getc(image_file)) != EOF) && (pos < 256)) {

Loading…
Cancel
Save

Powered by TurnKey Linux.