Skip to content

Commit

Permalink
Restore line which should not have been removed; removal causes frami…
Browse files Browse the repository at this point in the history
…ng to not appear when converting and sendind data directly out a serial port.
  • Loading branch information
dcnewman committed Mar 28, 2015
1 parent 383e6be commit e68210a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gpx/gpx.c
Original file line number Diff line number Diff line change
Expand Up @@ -5505,6 +5505,7 @@ int gpx_convert_and_send(Gpx *gpx, FILE *file_in, int sio_port,
gpx_initialize(gpx, 0);

gpx->flag.logMessages = 1;
gpx->flag.framingEnabled = 1;
gpx->callbackHandler = (int (*)(Gpx*, void*, char*, size_t))port_handler;;
gpx->callbackData = &sio;
}
Expand Down

0 comments on commit e68210a

Please sign in to comment.