Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: DAQ.cpp
- Revision:
- 2:ea7eb499a27a
- Parent:
- 0:88f8e80dc5fd
- Child:
- 4:cc896bb62196
diff -r d8a3df4b70f6 -r ea7eb499a27a DAQ.cpp
--- a/DAQ.cpp Wed Mar 19 10:46:01 2014 +0000
+++ b/DAQ.cpp Wed Apr 30 11:40:31 2014 +0000
@@ -70,6 +70,17 @@
}
return false;
}
+bool DAQ::ChannelsDisabled()
+{
+ for(int i=0;i<16;i++)
+ {
+ if(channels[i]->Enabled())
+ {
+ return false;
+ }
+ }
+ return true;
+}
bool DAQ::Initialized(void)
{
return(initialized);