Skip to content

Commit

Permalink
Move check_writable()
Browse files Browse the repository at this point in the history
Available for all targets, not just those with RAMPZ
  • Loading branch information
MCUdude committed Apr 2, 2021
1 parent 8787c74 commit e12eda5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avr/libraries/Optiboot_flasher/src/Flash.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ class Flash
Flash(const uint8_t *flash_array, const uint16_t flash_array_size, uint8_t *ram_array, const uint16_t ram_array_size = SPM_PAGESIZE);
#ifdef RAMPZ
void set_far_address(uint32_t address);
bool check_writable();
#endif
bool check_writable();
void clear_buffer(uint8_t fill = 0x00);
uint8_t read_buffer(uint8_t index);
void write_buffer(uint8_t index, uint8_t value);
Expand Down

0 comments on commit e12eda5

Please sign in to comment.