Skip to content

Commit

Permalink
Merge pull request #2267 from dresco/ANT
Browse files Browse the repository at this point in the history
Change variable name for clarity
  • Loading branch information
liversedge committed Apr 1, 2017
2 parents 3bbb943 + 0728c80 commit 66c5c8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ANT/ANT.cpp
Expand Up @@ -1355,9 +1355,9 @@ void ANT::blacklistSensor(int device_number, int device_id)
if ((antChannel[i]->device_number == device_number) && (antChannel[i]->device_id == device_id)) {
if (!antChannel[i]->blacklisted) {
char *name = NULL;
for (int i=0; ant_sensor_types[i].suffix != '\0'; i++) {
if (ant_sensor_types[i].device_id == device_id)
name = (char*)ant_sensor_types[i].descriptive_name;
for (int j=0; ant_sensor_types[j].suffix != '\0'; j++) {
if (ant_sensor_types[j].device_id == device_id)
name = (char*)ant_sensor_types[j].descriptive_name;
}

if (name)
Expand Down

0 comments on commit 66c5c8c

Please sign in to comment.