Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
gotthardp committed Sep 11, 2018
1 parent 432f288 commit 4785db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mercury.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ Reader_set_read_powers(Reader *self, PyObject *args, PyObject *kwds)
int power;
int antenna;
TMR_PortValueList ant_pow_list;
TMR_PortValue value_list[length];
TMR_PortValue value_list[MAX_ANTENNA_COUNT];

ant_pow_list.len = length;
ant_pow_list.max = numberof(value_list);
Expand Down

0 comments on commit 4785db4

Please sign in to comment.