From 5820d022f33f846757ab2fe6babf058101da6ed8 Mon Sep 17 00:00:00 2001 From: PaulStoffregen Date: Tue, 5 Sep 2017 01:50:12 -0700 Subject: [PATCH] Fix compile warning --- tlc_servos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tlc_servos.h b/tlc_servos.h index 897fa85..9f913f4 100644 --- a/tlc_servos.h +++ b/tlc_servos.h @@ -97,7 +97,7 @@ void tlc_initServos(uint8_t initAngle) #elif defined(__arm__) && defined(TEENSYDUINO) //clear_XLAT_interrupt(); - uint32_t sc = FTM1_SC; + uint32_t sc __attribute__ ((unused)) = FTM1_SC; FTM1_SC = 0; // stop timer CMT_MSC = 0; CMT_CGH1 = TLC_TIMER_TEENSY3_SERVO_CGH1;