Code style fix

This commit is contained in:
Lorenz Meier
2017-02-04 08:54:00 +01:00
parent 54cc212d46
commit 51e156e1f4
+2 -2
View File
@@ -74,9 +74,9 @@ static const int8_t declination_table[13][37] = \
};
static float get_lookup_table_val(unsigned lat, unsigned lon);
static unsigned get_lookup_table_index(float* val, float min, float max);
static unsigned get_lookup_table_index(float *val, float min, float max);
unsigned get_lookup_table_index(float* val, float min, float max)
unsigned get_lookup_table_index(float *val, float min, float max)
{
/* for the rare case of hitting the bounds exactly
* the rounding logic wouldn't fit, so enforce it.