Skip to content

Commit 02f067b

Browse files
Update deprecated FreeRTOS constant.
DavidAntliff#4
1 parent 5cd7a77 commit 02f067b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/smbus.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
extern "C" {
4141
#endif
4242

43-
#define SMBUS_DEFAULT_TIMEOUT (1000 / portTICK_RATE_MS) ///< Default transaction timeout in ticks
43+
#define SMBUS_DEFAULT_TIMEOUT (1000 / portTICK_PERIOD_MS) ///< Default transaction timeout in ticks
4444
/**
4545
* @brief 7-bit or 10-bit I2C slave address.
4646
*/

0 commit comments

Comments
 (0)