Update ubx.cpp

GPS didn't work before this change was made