forked from M-Labs/artiq
bootloader: fix !has_ethmac
This commit is contained in:
parent
42af76326f
commit
deadfead2a
@ -203,6 +203,7 @@ struct NetConn {
|
||||
firmware_downloaded: bool
|
||||
}
|
||||
|
||||
#[cfg(has_ethmac)]
|
||||
impl NetConn {
|
||||
pub fn new() -> NetConn {
|
||||
NetConn {
|
||||
@ -414,6 +415,7 @@ pub extern fn main() -> i32 {
|
||||
println!("Copyright (c) 2017-2019 M-Labs Limited");
|
||||
println!("");
|
||||
|
||||
#[cfg(has_ethmac)]
|
||||
clock::init();
|
||||
|
||||
if startup() {
|
||||
|
Loading…
Reference in New Issue
Block a user