update libopencm3
This brings in the new ADC api for STM32 parts. Update to new standardized ADC apis. Drops pointless channel definitions, uses common names for common functions. No functional changes. Based on work in: https://github.com/libopencm3/libopencm3-examples/pull/130
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#include <libopencm3/stm32/usart.h>
|
||||
#include <libopencm3/stm32/gpio.h>
|
||||
|
||||
uint8_t channel_array[] = { ADC_CHANNEL1, ADC_CHANNEL1, ADC_CHANNEL_TEMP};
|
||||
uint8_t channel_array[] = { 1, 1, ADC_CHANNEL_TEMP};
|
||||
|
||||
static void adc_setup(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user