forked from M-Labs/artiq
1
0
Fork 0

runtime: temporarily revert ethmac statistics collection.

This commit is contained in:
whitequark 2017-10-30 08:27:51 +00:00
parent ae2d7abbed
commit a66450b0af
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ impl EthernetStatistics {
pub fn new() -> Self {
unsafe {
EthernetStatistics {
rx_errors: csr::ethmac::crc_errors_read(),
rx_dropped: csr::ethmac::sram_writer_errors_read(),
rx_errors: 0,/*csr::ethmac::crc_errors_read()*/,
rx_dropped: 0,/*csr::ethmac::sram_writer_errors_read()*/,
}
}
}