further fixes irq mask & i2c lock

This commit is contained in:
Verkehrsrot committed 2019-07-23 20:43:10 +02:00
1 parent 95faea9e71
commit 4a2845a3f6
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@
#define SCREEN_MODE (0x80)
// I2C bus access control
#define I2C_MUTEX_LOCK() (xSemaphoreTake(I2Caccess, pdMS_TO_TICKS(10)) == pdTRUE)
#define I2C_MUTEX_LOCK() (xSemaphoreTake(I2Caccess, pdMS_TO_TICKS(2000)) == pdTRUE)
#define I2C_MUTEX_UNLOCK() (xSemaphoreGive(I2Caccess))
// Struct holding devices's runtime configuration