Skip to content
Snippets Groups Projects
Commit ba10e18f authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Remove unneeded cast in GPS driver

parent 6eaf634c
No related branches found
No related tags found
No related merge requests found
......@@ -651,7 +651,7 @@ int ASHTECH::configure(unsigned &baudrate)
for (unsigned int baud_i = 0; baud_i < sizeof(baudrates_to_try) / sizeof(baudrates_to_try[0]); baud_i++) {
baudrate = baudrates_to_try[baud_i];
set_baudrate(_fd, baudrate);
write(_fd, (uint8_t *)comm, sizeof(comm));
write(_fd, comm, sizeof(comm));
}
set_baudrate(_fd, 115200);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment