|
@ -7,6 +7,8 @@ |
|
|
#define __SPI_PATCHER_H__ |
|
|
#define __SPI_PATCHER_H__ |
|
|
#pragma once |
|
|
#pragma once |
|
|
|
|
|
|
|
|
|
|
|
#if defined(ESP32) |
|
|
|
|
|
|
|
|
#include "spiPatcherHandle.h" |
|
|
#include "spiPatcherHandle.h" |
|
|
|
|
|
|
|
|
#include <driver/spi_master.h> |
|
|
#include <driver/spi_master.h> |
|
@ -81,4 +83,6 @@ class SpiPatcher { |
|
|
StaticSemaphore_t mutex_buffer; |
|
|
StaticSemaphore_t mutex_buffer; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
#endif /*ESP32*/ |
|
|
|
|
|
|
|
|
#endif /*__SPI_PATCHER_H__*/ |
|
|
#endif /*__SPI_PATCHER_H__*/ |
|
|