Skip to content

Update LoRaMAC Node submodule from version 4.5.1 to 4.6.0 #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/LoRaMac-node
Submodule LoRaMac-node updated 180 files
10 changes: 5 additions & 5 deletions src/boards/rp2040/eeprom-board.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,18 @@ void EepromMcuInit()
memcpy(eeprom_write_cache, EEPROM_ADDRESS, sizeof(eeprom_write_cache));
}

uint8_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size )
LmnStatus_t EepromMcuReadBuffer( uint16_t addr, uint8_t *buffer, uint16_t size )
{
memcpy(buffer, eeprom_write_cache + addr, size);

return SUCCESS;
return LMN_STATUS_OK;
}

uint8_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size )
LmnStatus_t EepromMcuWriteBuffer( uint16_t addr, uint8_t *buffer, uint16_t size )
{
memcpy(eeprom_write_cache + addr, buffer, size);

return SUCCESS;
return LMN_STATUS_OK;
}

uint8_t EepromMcuFlush()
Expand All @@ -48,4 +48,4 @@ uint8_t EepromMcuFlush()
flash_range_program(EEPROM_OFFSET, eeprom_write_cache, sizeof(eeprom_write_cache));

BoardCriticalSectionEnd(&mask);
}
}