Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Resolve compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
techyian committed Sep 3, 2020
1 parent 4435fd1 commit 5fa6ea2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/MMALSharp/MMALCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand All @@ -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();

Expand Down

0 comments on commit 5fa6ea2

Please sign in to comment.