remove unnecessary variable

This commit is contained in:
Thomas Gubler 2014-09-30 15:39:01 +02:00
parent cc05f0f185
commit 6da52c5543
1 changed files with 0 additions and 2 deletions

View File

@ -388,11 +388,9 @@ Navigator::task_main()
/* global position updated */ /* global position updated */
if (fds[0].revents & POLLIN) { if (fds[0].revents & POLLIN) {
global_position_update(); global_position_update();
static int gposcounter = 0;
if (_geofence.getSource() == Geofence::GF_SOURCE_GLOBALPOS) { if (_geofence.getSource() == Geofence::GF_SOURCE_GLOBALPOS) {
have_geofence_position_data = true; have_geofence_position_data = true;
} }
gposcounter++;
} }
/* Check geofence violation */ /* Check geofence violation */