From 8f30e605e6611b5d5c61c24d5d0cfb17589f117d Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 11 Mar 2016 11:26:13 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9070 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/adc.c | 2 +- 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.