From 8fe4379d1079663bd0b683b6959f2e247fb9dded Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Thu, 15 Aug 2024 09:13:57 -0400 Subject: [PATCH] Fix #435, change eeprom direct internal var to cpuaddr --- fsw/modules/eeprom_direct/cfe_psp_eeprom_direct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fsw/modules/eeprom_direct/cfe_psp_eeprom_direct.c b/fsw/modules/eeprom_direct/cfe_psp_eeprom_direct.c index 5a3740ec..22a925d8 100644 --- a/fsw/modules/eeprom_direct/cfe_psp_eeprom_direct.c +++ b/fsw/modules/eeprom_direct/cfe_psp_eeprom_direct.c @@ -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 @@ -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;