This commit is contained in:
QuantumEntangledAndy authored and Andrew King committed 2023-02-27 09:14:07 +07:00
1 parent 8ead7ad2fc
commit a2bec57251
1 file changed
+4 -1
+4 -1
View File
@@ -15,7 +15,10 @@ pub(crate) struct LoggedIn {}
#[async_trait]
impl CameraState for LoggedIn {
async fn setup(&mut self, shared: &Shared) -> Result<(), anyhow::Error> {
shared.camera.login_with_maxenc(shared.max_encryption).await?;
shared
.camera
.login_with_maxenc(shared.max_encryption)
.await?;
Ok(())
}