From d4bed025ed6de39e517422b076b5af9d7b31abb7 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 26 May 2017 13:20:20 -0400 Subject: command: Store the command parsing information directly in array Instead of defining an array of pointers, just define the array directly. Signed-off-by: Kevin O'Connor --- src/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command.h') diff --git a/src/command.h b/src/command.h index 609becd9..5bd6faf4 100644 --- a/src/command.h +++ b/src/command.h @@ -50,7 +50,7 @@ enum { PT_uint32, PT_int32, PT_uint16, PT_int16, PT_byte, PT_string, PT_progmem_buffer, PT_buffer, }; -extern const struct command_parser * const command_index[]; +extern const struct command_parser command_index[]; extern const uint8_t command_index_size; extern const uint8_t command_identify_data[]; extern const uint32_t command_identify_size; -- cgit v1.2.3-70-g09d2