You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
278 B

#include "System.h"
/*
@param src - from
* @param dest - to
*/
void _memcopy(volatile uint8_t *src,volatile uint8_t *dest, uint16_t size)
{
for (uint16_t pos = 0; pos < size; pos++)
{
dest[pos] = src[pos];
}
}
void System_SWReboot()
{
cli();
while(1);//Dumb reset
}