You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/10/03 19:07:25 UTC
[incubator-nuttx-apps] 02/02: system/ramspeed: Add system interrupt switch.
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 98a9d2c749a32f3fb0c9879c9e7be5b062f8dadc
Author: crafcat <11...@users.noreply.github.com>
AuthorDate: Sat Oct 1 22:55:56 2022 +0800
system/ramspeed: Add system interrupt switch.
system/ramspeed: Add system interrupt switch.
---
system/ramspeed/ramspeed_main.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/system/ramspeed/ramspeed_main.c b/system/ramspeed/ramspeed_main.c
index c2485f7e7..65c25e22c 100644
--- a/system/ramspeed/ramspeed_main.c
+++ b/system/ramspeed/ramspeed_main.c
@@ -457,10 +457,12 @@ int main(int argc, FAR char *argv[])
parse_commandline(argc, argv, &ramspeed);
memcpy_speed_test(ramspeed.dest, ramspeed.src,
- ramspeed.size, ramspeed.repeat_num, ramspeed.irq_disable);
+ ramspeed.size, ramspeed.repeat_num,
+ ramspeed.irq_disable);
memset_speed_test(ramspeed.dest, ramspeed.value,
- ramspeed.size, ramspeed.repeat_num, ramspeed.irq_disable);
+ ramspeed.size, ramspeed.repeat_num,
+ ramspeed.irq_disable);
return EXIT_SUCCESS;
}