Compare commits
1 Commits
7fe32b9717
...
5e9dac872a
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e9dac872a |
2
adc.hpp
2
adc.hpp
@@ -156,7 +156,7 @@ class Adc<Cfg, io::P, pin> : public detail::AdcImpl<Cfg> {
|
|||||||
|
|
||||||
template <typename Cfg, InputSource src>
|
template <typename Cfg, InputSource src>
|
||||||
class Adc<Cfg, InputSource, src> : public detail::AdcImpl<Cfg> {
|
class Adc<Cfg, InputSource, src> : public detail::AdcImpl<Cfg> {
|
||||||
using callback_t = void (*)(uint16_t);
|
using callback_t = void (*)(const uint16_t &);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static void init(callback_t callback)
|
static void init(callback_t callback)
|
||||||
|
|||||||
Reference in New Issue
Block a user