From 7c66d5c32139cb105cbea3a4be8f4df2ffe6c4bd Mon Sep 17 00:00:00 2001 From: Henry Bruce Date: Tue, 29 Mar 2016 10:29:14 -0700 Subject: [PATCH] examples/c++: Fix syntax errors in ads1x15.cxx Signed-off-by: Henry Bruce Signed-off-by: Mihai Tudor Panu --- examples/c++/ads1x15.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/c++/ads1x15.cxx b/examples/c++/ads1x15.cxx index 3c5da655..e951d525 100644 --- a/examples/c++/ads1x15.cxx +++ b/examples/c++/ads1x15.cxx @@ -286,7 +286,7 @@ int main() else ads->setCompMode(); break; case 18: - cout << ads->getCompLatch() << cout; + cout << ads->getCompLatch() << endl; break; case 19: cout << "select one of the following:" << endl; @@ -296,7 +296,7 @@ int main() else ads->setCompLatch(); break; case 20: - cout << ads->getContinuous() << cout; + cout << ads->getContinuous() << endl; break; case 21: cout << "select one of the following:" << endl;