summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2013-03-29 22:58:51 +0100
committerNicolas Schodet2019-10-07 00:01:14 +0200
commit4785817b07b9acd17f4cede289729aa41c6a11b6 (patch)
treef9c4225cbf13985c0c69f17d438083dbfb887449
parente39b6b8ee8395cedbfaa31aa8c2ca33eb927bac1 (diff)
ucoolib/intf: fix adc class
-rw-r--r--ucoolib/intf/adc.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ucoolib/intf/adc.hh b/ucoolib/intf/adc.hh
index a002188..d6c55ce 100644
--- a/ucoolib/intf/adc.hh
+++ b/ucoolib/intf/adc.hh
@@ -30,6 +30,7 @@ namespace ucoo {
/// should be enough for simple needs.
class Adc
{
+ public:
/// Make a conversion and return the value.
virtual int read () = 0;
/// Get resolution (number of possible different values).