diff options
-rw-r--r-- | os/hal/src/adc.c | 2 | ||||
-rw-r--r-- | readme.txt | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/src/adc.c b/os/hal/src/adc.c index f1be56873..5103446b1 100644 --- a/os/hal/src/adc.c +++ b/os/hal/src/adc.c @@ -175,7 +175,7 @@ void adcStartConversionI(ADCDriver *adcp, osalDbgCheckClassI();
osalDbgCheck((adcp != NULL) && (grpp != NULL) && (samples != NULL) &&
- ((depth == 1U) || ((depth & 1U) == 0U)));
+ (depth > 0U) && ((depth == 1U) || ((depth & 1U) == 0U)));
osalDbgAssert((adcp->state == ADC_READY) ||
(adcp->state == ADC_COMPLETE) ||
(adcp->state == ADC_ERROR),
diff --git a/readme.txt b/readme.txt index b9eda38c4..733de0ebd 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ *** Files Organization ***
*****************************************************************************
---{root} - ChibiOS/RT directory.
+--{root} - ChibiOS directory.
+--readme.txt - This file.
+--documentation.html - Shortcut to the web documentation page.
+--license.txt - GPL license text.
@@ -79,6 +79,7 @@ *****************************************************************************
*** Next ***
+- RT: Added a NASA-OSAL API emulator over the RT kernel.
- RT: Added RT-STM32L476-DISCOVERY demo.
- HAL: Added more STM32L4xx testhal demos.
- HAL: Updated all STM32F476 mcuconf.h files.
|