remove i2c mutex (now done in arduino-esp v2)
This commit is contained in:
1 parent
cbca3ebb90
commit
c9c4f2e714
7 files changed
+186
-285
No files matched your search
@@ -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) \
|
||||
|
||||
Reference in new issue
Block a user