This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 69d5f960f system/ramspeed:Fix the problem that irq_disable is often 
opened.
69d5f960f is described below

commit 69d5f960fc6ae27b7dce58d82e6b18cc9a964fd5
Author: chenrun1 <chenr...@xiaomi.com>
AuthorDate: Mon Apr 3 19:35:43 2023 +0800

    system/ramspeed:Fix the problem that irq_disable is often opened.
    
    Fix the problem that "when repeat_num!=0, there is no break, so irq_disable 
will be configured to true by default".
---
 system/ramspeed/ramspeed_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/system/ramspeed/ramspeed_main.c b/system/ramspeed/ramspeed_main.c
index 86757f7c2..445b2a220 100644
--- a/system/ramspeed/ramspeed_main.c
+++ b/system/ramspeed/ramspeed_main.c
@@ -143,6 +143,7 @@ static void parse_commandline(int argc, FAR char **argv,
                 printf(RAMSPEED_PREFIX "<size> must >= 32");
                 exit(EXIT_FAILURE);
               }
+
             break;
           case 'v':
             OPTARG_TO_VALUE(info->value, uint8_t, 16);
@@ -155,6 +156,7 @@ static void parse_commandline(int argc, FAR char **argv,
                 exit(EXIT_FAILURE);
               }
 
+            break;
           case 'i':
             info->irq_disable = true;
             break;

Reply via email to