fix compiler warning: avoid going out of array bounds
This commit is contained in:
1 parent
58c93a6bb5
commit
6b7db138d6
1 file changed
+1
-1
@@ -84,7 +84,7 @@ typedef struct
|
||||
int C_state;
|
||||
|
||||
/* led handling */
|
||||
char led[7];
|
||||
char led[8];
|
||||
|
||||
} PrivateData;
|
||||
|
||||
|
||||
Reference in new issue
Block a user