Skip to content

Commit 49608e0

Browse files
committed
bail out on non-ayaneo air devices
1 parent 18803b0 commit 49608e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ static EC_RAM_METHOD: Lazy<Mutex<EcRamAccess>> = Lazy::new(|| {
100100
}
101101
}
102102
} else {
103-
Mutex::new(EcRamAccess::IoPort)
103+
panic!("Not running on a supported device");
104104
}
105105
});
106106

0 commit comments

Comments
 (0)