Skip to content

Commit

Permalink
Fix cpp example for old compillers
Browse files Browse the repository at this point in the history
  • Loading branch information
j123b567 committed Jun 1, 2016
1 parent 9760a97 commit 4998131
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/common/scpi-def.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,11 +411,11 @@ const scpi_command_t scpi_commands[] = {
};

scpi_interface_t scpi_interface = {
.error = SCPI_Error,
.write = SCPI_Write,
.control = SCPI_Control,
.flush = SCPI_Flush,
.reset = SCPI_Reset,
/*.error = */ SCPI_Error,
/*.write = */ SCPI_Write,
/*.control = */ SCPI_Control,
/*.flush = */ SCPI_Flush,
/*.reset = */ SCPI_Reset,
};

char scpi_input_buffer[SCPI_INPUT_BUFFER_LENGTH];
Expand Down

0 comments on commit 4998131

Please sign in to comment.