summaryrefslogtreecommitdiff
path: root/ucoo/hal/adc
diff options
context:
space:
mode:
authorNicolas Schodet2015-04-20 16:31:13 +0200
committerNicolas Schodet2019-10-07 00:44:50 +0200
commit2b6317815bf86c80047c5d3b42602f81b8c21d01 (patch)
tree1dff127e53988fc781357400a024a8de853b9a7f /ucoo/hal/adc
parent9901e49f990b7e1ab9646295999fc5544e388f1d (diff)
Update to new libopencm3 version
- remove f4/ from include directory - rename some SysTick registers - rename APB freq variables
Diffstat (limited to 'ucoo/hal/adc')
-rw-r--r--ucoo/hal/adc/adc_hard.stm32f4.cc4
-rw-r--r--ucoo/hal/adc/test/test_adc.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/ucoo/hal/adc/adc_hard.stm32f4.cc b/ucoo/hal/adc/adc_hard.stm32f4.cc
index 38661e3..444117f 100644
--- a/ucoo/hal/adc/adc_hard.stm32f4.cc
+++ b/ucoo/hal/adc/adc_hard.stm32f4.cc
@@ -23,8 +23,8 @@
// }}}
#include "adc_hard.stm32f4.hh"
-#include <libopencm3/stm32/f4/adc.h>
-#include <libopencm3/stm32/f4/rcc.h>
+#include <libopencm3/stm32/adc.h>
+#include <libopencm3/stm32/rcc.h>
namespace ucoo {
diff --git a/ucoo/hal/adc/test/test_adc.cc b/ucoo/hal/adc/test/test_adc.cc
index eaaf44e..58cca96 100644
--- a/ucoo/hal/adc/test/test_adc.cc
+++ b/ucoo/hal/adc/test/test_adc.cc
@@ -27,7 +27,7 @@
#include "ucoo/base/test/test.hh"
#include "ucoo/utils/delay.hh"
-#include <libopencm3/stm32/f4/adc.h>
+#include <libopencm3/stm32/adc.h>
#include "ucoo/hal/gpio/gpio.hh"
#include <cstdio>