The size of the array must be a constant on Windows
This commit is contained in:
parent
5807bceda8
commit
8d9679bf77
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,8 @@ const int SUPPORTED_METHODS =
|
|||
TELLSTICK_BELL |
|
||||
TELLSTICK_DIM;
|
||||
|
||||
const int DATA_LENGTH = 20;
|
||||
|
||||
void print_usage( char *name ) {
|
||||
printf("Usage: %s [ options ]\n", name);
|
||||
printf("\n");
|
||||
|
@ -123,7 +125,6 @@ int list_devices() {
|
|||
i++;
|
||||
}
|
||||
|
||||
int DATA_LENGTH = 20;
|
||||
char protocol[DATA_LENGTH], model[DATA_LENGTH];
|
||||
int sensorId = 0, dataTypes = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue