Because i use tabs instead of spaces, the code is available here: http://pastebin.com/ff3m5Cwv
The problem:
In the main, the chip jumps from the first renderTimeTable() call in the main, to memcpy after the blocking while. Anything involving copying spi_buffer array to portbuffer array causes the issue
am i calling the function wrong?
this issue started occuring after i started using memcpy
i am using avr studio 4