formatting

This commit is contained in:
Simen Svale Skogsrud
2011-01-31 23:04:39 +01:00
parent 9b292ffe3c
commit 5694310a40
3 changed files with 12 additions and 2 deletions

View File

@@ -124,6 +124,9 @@ void eeprom_put_char( unsigned int addr, unsigned char new_value )
sei(); // Restore interrupt flag state.
}
// Extensions added as part of Grbl
void memcpy_to_eeprom_with_checksum(unsigned int destination, char *source, unsigned int size) {
unsigned char checksum = 0;
for(; size > 0; size--) {