aboutsummaryrefslogtreecommitdiffstats
path: root/Software
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-03-05 14:46:21 +0200
committerShlomo Hecht <shlomo@twine-s.com>2019-03-05 14:46:21 +0200
commit932e53ca094e4ce9ef6ebd4edaa70dce85e85f0a (patch)
tree4fc40503a4bbc643770001f89468f6400d1aa7ca /Software
parenta518241ac9b12d64bfb8b113bc39270f377aedd4 (diff)
downloadTango-932e53ca094e4ce9ef6ebd4edaa70dce85e85f0a.tar.gz
Tango-932e53ca094e4ce9ef6ebd4edaa70dce85e85f0a.zip
remove wrong assert
Diffstat (limited to 'Software')
-rw-r--r--Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC.c b/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC.c
index b93e57422..ce84d7eb6 100644
--- a/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC.c
+++ b/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC.c
@@ -212,7 +212,7 @@ uint32_t ADC_TriggerCollection(void) // (called by MillisecLoop)
uint32_t ADC_GetReading(int DataItemId) // // ADC Data get for a single data read
{
int bufnotinuse;
- assert (DataItemId<MAX_ADC_DEVICES);
+ //assert (DataItemId<MAX_ADC_DEVICES);
if (bufferFlipFlop == 0) bufnotinuse = 1;
else bufnotinuse = 0;