From 64da0823069676e70b1a5f67b7ca34ab62267b7d Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Tue, 16 Feb 2016 10:28:35 -0800 Subject: [PATCH] Remove dead test code. --- firmware/application/rffc507x.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/firmware/application/rffc507x.cpp b/firmware/application/rffc507x.cpp index e15265e47..fc5a585d7 100644 --- a/firmware/application/rffc507x.cpp +++ b/firmware/application/rffc507x.cpp @@ -278,21 +278,4 @@ spi::reg_t RFFC507x::readback(const Readback readback) { return read(Register::READBACK); } -#if 0 -/* Test of RFFC507x reset over temperature */ -while(true) { - first_if.write(rffc507x::Register::P1_FREQ2, 0xAAAA); - first_if.reset(); - const auto after_reset = first_if.read(rffc507x::Register::P1_FREQ2); - if( after_reset != 0x6276 ) { - led_usb.off(); - led_tx.on(); - chThdSleepMilliseconds(100); - } else { - led_usb.on(); - led_tx.off(); - } -} -#endif - } /* namespace rffc507x */