Skip to content

Commit

Permalink
Fix nasa#435, change eeprom direct internal var to cpuaddr
Browse files Browse the repository at this point in the history
  • Loading branch information
jphickey committed Aug 15, 2024
1 parent 257eafa commit 8fe4379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsw/modules/eeprom_direct/cfe_psp_eeprom_direct.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ int32 CFE_PSP_EepromWrite16(cpuaddr MemoryAddress, uint16 uint16Value)
{
uint32 write32;
uint32 temp32;
uint32 aligned_address;
cpuaddr aligned_address;

/*
** check 16 bit alignment , check the 1st lsb
Expand Down Expand Up @@ -160,7 +160,7 @@ int32 CFE_PSP_EepromWrite16(cpuaddr MemoryAddress, uint16 uint16Value)
*-----------------------------------------------------------------*/
int32 CFE_PSP_EepromWrite8(cpuaddr MemoryAddress, uint8 ByteValue)
{
uint32 aligned_address;
cpuaddr aligned_address;
uint16 write16, temp16;

temp16 = ByteValue;
Expand Down

0 comments on commit 8fe4379

Please sign in to comment.