Diff of /leds.h [2b1542] .. [3d07ba]  Maximize  Restore

  Switch to side-by-side view

--- a/leds.h
+++ b/leds.h
@@ -19,16 +19,8 @@
 #ifndef __LEDS_H__
 #define __LEDS_H_
 
-#define LEDS_PROFILE_ON
-
-#if defined(__ICCSTM8__)
 #define TIM4_OVR_UIF_vector 0x19
-#elif defined(SDCC)
-#define TIM4_OVR_UIF_vector 23
-#endif
-
-#define TIM4_HZ 450
-#define UPDATE_VU_INTERVAL 15 // at 450 Hz Timer Interval aprox. 30 Hz refresh
+#define UPDATE_VU_INTERVAL 10
 
 #define PIN_MUX_STATUS GPIO_PIN_4
 #define PIN_MUX_LEFT GPIO_PIN_5
@@ -36,17 +28,10 @@
 #define PIN_ONAIR GPIO_PIN_3
 #define PORT_MUX GPIOA
 #define PORT_LEDS GPIOB
-#define PORT_ONAIR GPIOA
 
 extern unsigned char leds_status, leds_left, leds_right;
 extern unsigned char updatevuflag;
-extern unsigned char freetimer;
 
 extern void InitLEDS();
-void SetOnAirLED(unsigned char onoff, unsigned char blinkhz);
 
-#if defined(SDCC)
-extern void TIM_Update_vector(void) __interrupt(TIM4_OVR_UIF_vector);
-#endif
-
-#endif //__LEDS_H__
+#endif //__LEDS_H__

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks