From 60b444d5d83f1688b4a19352c2c2d8e714c17e09 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 29 Jan 2020 08:18:45 +0100 Subject: [PATCH] no inline --- armsrc/lfadc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/armsrc/lfadc.c b/armsrc/lfadc.c index 60044b6d8..a15aa429b 100644 --- a/armsrc/lfadc.c +++ b/armsrc/lfadc.c @@ -215,11 +215,11 @@ void lf_finalize() { FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF); LEDsoff(); - + sample_config *sc = getSamplingConfig(); sc->decimation = 1; sc->averaging = 0; - + StartTicks(); } @@ -260,7 +260,7 @@ size_t lf_detect_field_drop(size_t max) { return 0; } -inline void lf_modulation(bool modulation) { +void lf_modulation(bool modulation) { if (modulation) { HIGH(GPIO_SSC_DOUT); } else { @@ -269,7 +269,7 @@ inline void lf_modulation(bool modulation) { } // simulation -inline void lf_manchester_send_bit(uint8_t bit) { +static void lf_manchester_send_bit(uint8_t bit) { lf_modulation(bit != 0); lf_wait_periods(16); lf_modulation(bit == 0);