remove i2c mutex (now done in arduino-esp v2)

This commit is contained in:
cyberman54 committed 2022-03-05 13:30:34 +01:00
1 parent cbca3ebb90
commit c9c4f2e714
7 files changed
+186 -285

No files matched your search

-5
View File
@@ -30,11 +30,6 @@
// length of display buffer for lmic event messages
#define LMIC_EVENTMSG_LEN 17
// I2C bus access control
#define I2C_MUTEX_LOCK() \
(xSemaphoreTake(I2Caccess, pdMS_TO_TICKS(DISPLAYREFRESH_MS)) == pdTRUE)
#define I2C_MUTEX_UNLOCK() (xSemaphoreGive(I2Caccess))
// pseudo system halt function, useful to prevent writeloops to NVRAM
#ifndef _ASSERT
#define _ASSERT(cond) \