Removed some commented-out test code from sram_exec.c to make the

code clearer and less cluttered.
This commit is contained in:
Tim Edwards 2021-10-31 17:06:05 -04:00
parent a360b77618
commit a2aacdb5d2
1 changed files with 0 additions and 4 deletions

View File

@ -33,8 +33,6 @@ void test_function()
void main()
{
// uint32_t func[&test_routine_end - &test_routine_begin];
// uint32_t *src_ptr;
uint16_t func[&main - &test_function];
uint16_t *src_ptr;
uint16_t *dst_ptr;
@ -58,11 +56,9 @@ void main()
reg_mprj_datah = 0x5; // Signal start of test
reg_mprj_datal = 0;
// src_ptr = &test_routine_begin;
src_ptr = &test_function;
dst_ptr = func;
// while (src_ptr != &test_routine_end)
while (src_ptr != &main)
*(dst_ptr++) = *(src_ptr++);