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