forked from espressif/esp-modbus
freertos: Remove legacy data types
This commit removes the usage of all legacy FreeRTOS data types that are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY. * Original commit: espressif/esp-idf@57fd78f5ba
This commit is contained in:
1 parent
a0e61427d1
commit
ea81bd7fef
6 files changed
+15
-15
No files matched your search
@@ -559,7 +559,7 @@ Example to get event when holding or input registers accessed in the slave:
|
||||
#define MB_READ_MASK (MB_EVENT_INPUT_REG_RD | MB_EVENT_HOLDING_REG_RD)
|
||||
#define MB_WRITE_MASK (MB_EVENT_HOLDING_REG_WR)
|
||||
#define MB_READ_WRITE_MASK (MB_READ_MASK | MB_WRITE_MASK)
|
||||
#define MB_PAR_INFO_GET_TOUT (10 / portTICK_RATE_MS)
|
||||
#define MB_PAR_INFO_GET_TOUT (10 / portTICK_PERIOD_MS)
|
||||
....
|
||||
|
||||
// The function blocks while waiting for register access
|
||||
|
||||
Reference in new issue
Block a user