diff --git a/packages/linux_spidev/lib/src/spidev.dart b/packages/linux_spidev/lib/src/spidev.dart index a159d21..cae9d11 100644 --- a/packages/linux_spidev/lib/src/spidev.dart +++ b/packages/linux_spidev/lib/src/spidev.dart @@ -394,7 +394,7 @@ void spiTransferExecutorEntry(Tuple2 channel) async { sendPort.send(Tuple3(transferId, null, null)); } on OSError catch (e) { - sendPort.send(Tuple3(transferId, e, StackTrace.current)); + sendPort.send(Tuple3(transferId, e, StackTrace.current)); } } else { throw StateError("Invalid packet received from receivePort in SpiTransferExecutor isolate: $untypedTransfer"); @@ -463,7 +463,7 @@ class SpiTransferExecutor { int _nextTransferId = 0; void _onIsolateData(dynamic untypedData) { - final data = untypedData as Tuple3; + final data = untypedData as Tuple3; final transferId = data.item1; final error = data.item2;