mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-29 18:28:24 +02:00
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:
@ -24,6 +24,10 @@ extern "C" {
|
|||||||
#include "Mockhttp_parser.h"
|
#include "Mockhttp_parser.h"
|
||||||
#include "Mockqueue.h"
|
#include "Mockqueue.h"
|
||||||
#include "Mocktask.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"
|
#include "Mockesp_timer.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user