Commit 79ab4642 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

fix MSVC warning and bug in EFAP_FIX_POLY

parent 97bd8882
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2114,7 +2114,8 @@ static int16_t get_poly_num(
    int16_t i;
#ifdef EFAP_FIX_POLY
    int16_t num_poly, found_poly;
    int16_t poly_tmp[EFAP_MAX_CHAN_NUM], poly_dist[EFAP_MAX_CHAN_NUM];
    int16_t poly_tmp[EFAP_MAX_CHAN_NUM];
    float poly_dist[EFAP_MAX_CHAN_NUM];

    float dist_tmp;
    float pos[3];