fix for cancelling arbitration

This commit is contained in:
John-Michael Baier
2020-11-29 19:13:52 +01:00
parent fe9235e569
commit e70e474dce
2 changed files with 40 additions and 10 deletions
+7
View File
@@ -207,6 +207,13 @@ class Device {
*/
virtual void checkDevice() = 0; // abstract
/**
* Cancel a running arbitration.
* @param arbitrationState the reference in which @a as_error is stored when cancelled.
* @return true if it was cancelled, false if not.
*/
bool cancelRunningArbitration(ArbitrationState* arbitrationState);
/**
* Write a single byte.
* @param value the byte value to write.