Update ubx.cpp

GPS didn't work before this change was made
Merge pull request #251 from yvestroxler/master

Small change in gps-driver (ubx.cpp)