fix: Mock tests include idf_additions.h

A number of IDF specific FreeRTOS API additions will be moved to
`#include "freertos/idf_additions.h". Mock tests need to include these to
properly use them as mock functions.
This commit is contained in:
Darian Leung
2023-09-04 15:03:46 +08:00
parent 4b28192d00
commit f35aaa1577

View File

@ -24,6 +24,10 @@ extern "C" {
#include "Mockhttp_parser.h"
#include "Mockqueue.h"
#include "Mocktask.h"
#if __has_include ("Mockidf_additions.h")
/* Some functions were moved from "task.h" to "idf_additions.h" */
#include "Mockidf_additions.h"
#endif
#include "Mockesp_timer.h"
/*