diff --git a/include/rdc/rdc.h b/include/rdc/rdc.h index 8b7dd1e4fe..a35c7385bc 100755 --- a/include/rdc/rdc.h +++ b/include/rdc/rdc.h @@ -431,7 +431,7 @@ typedef enum { /** * @brief The maximum test cases to run */ -const uint32_t MAX_TEST_CASES = RDC_DIAG_TEST_LAST - RDC_DIAG_TEST_FIRST + 1; +#define MAX_TEST_CASES (RDC_DIAG_TEST_LAST - RDC_DIAG_TEST_FIRST + 1) /** * @brief The maximum length of the diagnostic messages