diff options
author | jaseg <git@jaseg.de> | 2020-12-21 16:22:11 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2020-12-21 16:22:11 +0100 |
commit | d8b6d18d2fefee381eb6a26334a13e94126b6d8e (patch) | |
tree | ab3a005e80c7b3d5b5d727ec04a2cbeefc3d51e6 /fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_dump_str_segments.c | |
parent | 26f5fefac6f15db1c8c81fb78a919d35211695c4 (diff) | |
download | minikbd-d8b6d18d2fefee381eb6a26334a13e94126b6d8e.tar.gz minikbd-d8b6d18d2fefee381eb6a26334a13e94126b6d8e.tar.bz2 minikbd-d8b6d18d2fefee381eb6a26334a13e94126b6d8e.zip |
Remove obsolete template code from fw
Diffstat (limited to 'fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_dump_str_segments.c')
-rw-r--r-- | fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_dump_str_segments.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_dump_str_segments.c b/fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_dump_str_segments.c deleted file mode 100644 index c3a9bf8..0000000 --- a/fw/hid-dials/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/JTest/src/jtest_dump_str_segments.c +++ /dev/null @@ -1,36 +0,0 @@ -#include "jtest_fw.h"
-
-/**
- * Dump the JTEST_FW.str_buffer the Keil framework in pieces.
- *
- * The JTEST_FW.str_buffer contains more characters than the Keil framework can
- * dump at once. This function dumps them in blocks.
- */
-void jtest_dump_str_segments(void)
-{
- uint32_t seg_idx = 0;
- uint32_t memmove_idx = 0;
- uint32_t seg_cnt =
- (strlen(JTEST_FW.str_buffer) / JTEST_STR_MAX_OUTPUT_SIZE) + 1;
-
- for( seg_idx = 0; seg_idx < seg_cnt; ++seg_idx)
- {
- JTEST_TRIGGER_ACTION(dump_str);
-
- if (seg_idx < JTEST_STR_MAX_OUTPUT_SEGMENTS)
- {
- memmove_idx = 0;
- while (memmove_idx < (seg_cnt - seg_idx -1) )
- {
- memmove(
- JTEST_FW.str_buffer+
- (memmove_idx* JTEST_STR_MAX_OUTPUT_SIZE),
- JTEST_FW.str_buffer+
- ((memmove_idx+1)*JTEST_STR_MAX_OUTPUT_SIZE),
- JTEST_BUF_SIZE);
- ++memmove_idx;
- }
- }
- }
- return;
-}
|