diff --git a/src/MMALSharp/MMALCamera.cs b/src/MMALSharp/MMALCamera.cs index 16897abd..b8cdeced 100644 --- a/src/MMALSharp/MMALCamera.cs +++ b/src/MMALSharp/MMALCamera.cs @@ -379,8 +379,7 @@ public async Task TakePictureTimelapse(IFileStreamCaptureHandler handler, MMALEn { await Task.WhenAny( Task.WhenAll(tasks), - RefreshAnnotations(refreshInterval, ctsRefreshAnnotation.Token) - ).ConfigureAwait(false); + RefreshAnnotations(refreshInterval, ctsRefreshAnnotation.Token)).ConfigureAwait(false); ctsRefreshAnnotation.Cancel(); } @@ -389,8 +388,7 @@ await Task.WhenAny( await Task.WhenAny( Task.WhenAll(tasks), RefreshAnnotations(refreshInterval, ctsRefreshAnnotation.Token), - cancellationToken.AsTask() - ).ConfigureAwait(false); + cancellationToken.AsTask()).ConfigureAwait(false); ctsRefreshAnnotation.Cancel();