Simplify I2C and SPI code (#237)
This commit is contained in:
committed by
GitHub
parent
b85ef7a2e7
commit
83a82be901
@@ -21,10 +21,8 @@ struct Configuration {
|
||||
spi_bus_config_t config;
|
||||
/** Whether this bus should be initialized when device starts up */
|
||||
InitMode initMode;
|
||||
/** Whether this bus can stopped and re-started. */
|
||||
bool canReinit;
|
||||
/** Whether configuration can be changed. */
|
||||
bool hasMutableConfiguration;
|
||||
bool isMutable;
|
||||
/** Optional custom lock */
|
||||
std::shared_ptr<Lock> _Nullable lock;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user