From aeed6d78c11a287f010a55b58bb640f5b54d6254 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 16 Apr 2011 09:27:46 +0000 Subject: [PATCH] Fixed bug 3288149. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2881 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/adc.h | 2 ++ readme.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/os/hal/include/adc.h b/os/hal/include/adc.h index 1e3f6edc7..a236a040a 100644 --- a/os/hal/include/adc.h +++ b/os/hal/include/adc.h @@ -205,6 +205,8 @@ typedef enum { if ((adcp)->state == ADC_COMPLETE) \ (adcp)->state = ADC_READY; \ } \ + else \ + (adcp)->state = ADC_READY; \ (adcp)->grpp = NULL; \ _adc_wakeup_isr(adcp); \ } \ diff --git a/readme.txt b/readme.txt index f57f3d247..0f5c72a30 100644 --- a/readme.txt +++ b/readme.txt @@ -71,6 +71,8 @@ ***************************************************************************** *** 2.3.2 *** +- FIX: Fixed missing state transition in ADC driver (bug 3288149)(backported + to 2.2.4). - FIX: Fixed missing state transition in SPI driver (bug 3288112)(backported to 2.2.4). - FIX: Fixed spurious characters generated by Serial over USB driver (bug