voltage divider defines for f4 targets
#endif
//VOLTAGE DIVIDER
-#define DISABLE_ADC
#define BATTERYPIN GPIO_Pin_2
#define BATTERYPORT GPIOC
#define BATTERY_ADC_CHANNEL ADC_Channel_12
#ifndef VOLTAGE_DIVIDER_R1
-#define VOLTAGE_DIVIDER_R1 4700
+#define VOLTAGE_DIVIDER_R1 10000
#endif
#ifndef VOLTAGE_DIVIDER_R2
-#define VOLTAGE_DIVIDER_R2 2200
+#define VOLTAGE_DIVIDER_R2 1000
#endif
#ifndef ADC_REF_VOLTAGE
#define ADC_REF_VOLTAGE 3.3
#endif
//VOLTAGE DIVIDER
-#define DISABLE_ADC
#define BATTERYPIN GPIO_Pin_2
#define BATTERYPORT GPIOC
#define BATTERY_ADC_CHANNEL ADC_Channel_12
#ifndef VOLTAGE_DIVIDER_R1
-#define VOLTAGE_DIVIDER_R1 4700
+#define VOLTAGE_DIVIDER_R1 10000
#endif
#ifndef VOLTAGE_DIVIDER_R2
-#define VOLTAGE_DIVIDER_R2 2200
+#define VOLTAGE_DIVIDER_R2 1000
#endif
#ifndef ADC_REF_VOLTAGE
#define ADC_REF_VOLTAGE 3.3
#endif
//VOLTAGE DIVIDER
-#define DISABLE_ADC
#define BATTERYPIN GPIO_Pin_2
#define BATTERYPORT GPIOC
#define BATTERY_ADC_CHANNEL ADC_Channel_12
#ifndef VOLTAGE_DIVIDER_R1
-#define VOLTAGE_DIVIDER_R1 4700
+#define VOLTAGE_DIVIDER_R1 10000
#endif
#ifndef VOLTAGE_DIVIDER_R2
-#define VOLTAGE_DIVIDER_R2 2200
+#define VOLTAGE_DIVIDER_R2 1000
#endif
#ifndef ADC_REF_VOLTAGE
#define ADC_REF_VOLTAGE 3.3
#ifdef FortiniF4osd
#define F405
-#define SYS_CLOCK_FREQ_HZ 168000000
-#define PWM_CLOCK_FREQ_HZ 84000000
-#define TICK_CLOCK_FREQ_HZ 21000000
//LEDS
#define LED_NUMBER 2
#endif
//VOLTAGE DIVIDER
-#define DISABLE_ADC
#define BATTERYPIN GPIO_Pin_2
#define BATTERYPORT GPIOC
#define BATTERY_ADC_CHANNEL ADC_Channel_12
#ifndef VOLTAGE_DIVIDER_R1
-#define VOLTAGE_DIVIDER_R1 4700
+#define VOLTAGE_DIVIDER_R1 10000
#endif
#ifndef VOLTAGE_DIVIDER_R2
-#define VOLTAGE_DIVIDER_R2 2200
+#define VOLTAGE_DIVIDER_R2 1000
#endif
#ifndef ADC_REF_VOLTAGE
#define ADC_REF_VOLTAGE 3.3
