1
0
forked from me/IronOS

Port across init reg helper

This commit is contained in:
Ben V. Brown
2020-09-18 21:59:38 +10:00
parent ad8df08bb8
commit 23b5452670
2 changed files with 32 additions and 16 deletions

View File

@@ -7,9 +7,9 @@
#include "BSP.h"
#include "Setup.h"
#include <I2C_Wrapper.hpp>
SemaphoreHandle_t FRToSI2C::I2CSemaphore;
SemaphoreHandle_t FRToSI2C::I2CSemaphore = nullptr;
StaticSemaphore_t FRToSI2C::xSemaphoreBuffer;
SemaphoreHandle_t FRToSI2C::I2CSemaphore2;
SemaphoreHandle_t FRToSI2C::I2CSemaphore2 = nullptr;
StaticSemaphore_t FRToSI2C::xSemaphoreBuffer2;
#define FLAG_TIMEOUT 1000