Skip to content

Commit

Permalink
Merge pull request #97 from f1oat/master
Browse files Browse the repository at this point in the history
Update EEPROM.h
  • Loading branch information
MCUdude authored Nov 29, 2020
2 parents 2b34004 + 865d413 commit 8b95a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megaavr/libraries/EEPROM/src/EEPROM.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#define nvm_read_byte(idx) *(uint8_t *)((idx & 0xFF) | ((idx & 0x100) ? USER_SIGNATURES_START : EEPROM_START))

void nvm_write_byte(uint16_t idx, uint8_t dat)
static void nvm_write_byte(uint16_t idx, uint8_t dat)
{
*(uint8_t *)((idx & 0xFF) | ((idx & 0x100) ? USER_SIGNATURES_START : EEPROM_START)) = dat;
uint8_t oldSREG = SREG;
Expand Down

0 comments on commit 8b95a64

Please sign in to comment.