+ if (state.gps != null) {
+ gps_locked.show(state, crc_errors);
+ gps_ready.show(state, crc_errors);
+ pad_lat.show(state, crc_errors);
+ pad_lon.show(state, crc_errors);
+ } else {
+ gps_locked.hide();
+ gps_ready.hide();
+ pad_lat.hide();
+ pad_lon.hide();
+ }