psxkey01: Fix configuration

Key_ID array must have the right size, it shall have a value greater
than zero.
Note: In Standard C and C++, zero-size array is not
allowed..
This commit is contained in:
Aschref Ben Thabet
2020-08-18 17:52:56 +02:00
committed by Sebastian Huber
parent cbfdcba555
commit 65e027c9ed

View File

@@ -41,7 +41,7 @@
#endif
TEST_EXTERN pthread_t Init_id;
TEST_EXTERN pthread_key_t Key_id[CONFIGURE_MAXIMUM_POSIX_KEYS - 1];
TEST_EXTERN pthread_key_t Key_id[ CONFIGURE_MAXIMUM_POSIX_KEYS ];
TEST_EXTERN uint32_t Data_array[ CONFIGURE_MAXIMUM_TASKS ];
#undef TEST_EXTERN