1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-30 02:43:45 +02:00

I2CManager_NonBlocking - Defer I2C speed changes for all drivers

Following on from the change to I2CManager_SAMD.h, the capability of deferring a request to change the speed of the I2C has been removed from the SAMD driver and put into the common NonBlocking code, so that all native drivers benefit from it.
This commit is contained in:
Neil McKechnie
2023-01-31 18:39:15 +00:00
parent bdffd36820
commit ba9b363058
3 changed files with 41 additions and 37 deletions

View File

@@ -281,6 +281,8 @@ private:
static volatile uint8_t operation;
static volatile unsigned long startTime;
volatile uint32_t pendingClockSpeed = 0;
void startTransaction();
// Low-level hardware manipulation functions.