confirmImageState method

Future<ImageState> confirmImageState(
  1. Duration timeout
)

Confirms the currently running image.

The device will keep using this image after future reboots.

Implementation

Future<ImageState> confirmImageState(Duration timeout) {
  // empty hash = currently booted image
  return setPendingImage([], true, timeout);
}