Skip to content

Commit 0290334

Browse files
authored
Merge pull request #93 from zimward/main
Letting keepawake fail if there is no screensaver available
2 parents 7cb2a07 + 65b94bd commit 0290334

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/serial.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ pub fn serial_thread(
103103
.reason("Serial Connection")
104104
.app_name("Serial Monitor")
105105
//.app_reverse_domain("io.github.myprog")
106-
.create()
107-
.unwrap();
106+
.create();
108107

109108
if let Ok(mut connected) = connected_lock.write() {
110109
*connected = false;
@@ -148,8 +147,7 @@ pub fn serial_thread(
148147
.reason("Serial Connection")
149148
.app_name("Serial Monitor")
150149
//.app_reverse_domain("io.github.myprog")
151-
.create()
152-
.unwrap();
150+
.create();
153151

154152
'connected_loop: loop {
155153
let devices = available_devices();

0 commit comments

Comments
 (0)