Subversion Repositories HomeAutomation

Rev

Rev 362 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 362 Rev 1868
Line 76... Line 76...
76
    flash_prev_addr = 0xffff;
76
    flash_prev_addr = 0xffff;
77
    flash_pagebuf = buf;
77
    flash_pagebuf = buf;
78
    flash_buffer_dirty = 0;
78
    flash_buffer_dirty = 0;
79
}
79
}
80
 
80
 
81
extern void __flash_code_start; // Start of .flash_code from ld-script
81
extern char __flash_code_start; // Start of .flash_code from ld-script
82
 
82
 
83
void flash_copy_data(uint16_t src, uint16_t dst, uint16_t len) {
83
void flash_copy_data(uint16_t src, uint16_t dst, uint16_t len) {
84
    uint16_t data;
84
    uint16_t data;
85
 
85
 
86
    cli(); // From this point we're on our own
86
    cli(); // From this point we're on our own