From 7f32ae31de8cf6746021902ce8b240a28af1cdc8 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 30 Oct 2017 08:48:35 +0000 Subject: [PATCH] runtime: fix a typo. --- artiq/firmware/runtime/ethmac.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/firmware/runtime/ethmac.rs b/artiq/firmware/runtime/ethmac.rs index 84cbc632c..3d602db1e 100644 --- a/artiq/firmware/runtime/ethmac.rs +++ b/artiq/firmware/runtime/ethmac.rs @@ -96,8 +96,8 @@ impl EthernetStatistics { pub fn new() -> Self { unsafe { EthernetStatistics { - rx_errors: 0,/*csr::ethmac::crc_errors_read()*/, - rx_dropped: 0,/*csr::ethmac::sram_writer_errors_read()*/, + rx_errors: 0/*csr::ethmac::crc_errors_read()*/, + rx_dropped: 0/*csr::ethmac::sram_writer_errors_read()*/, } } }