fixed misplaced volatile on Beb_Read32
Build on RHEL9 docker image / build (push) Successful in 3m59s
Build on RHEL8 docker image / build (push) Successful in 5m12s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m40s
Run Simulator Tests on local RHEL8 / build (push) Successful in 24m10s

This commit is contained in:
Erik Frojdh committed 2026-10-26 10:11:33 +01:00
1 parent 5500800503
commit 7b9f408df1
1 file changed
+1 -3
+1 -3
View File
@@ -1379,9 +1379,7 @@ int Beb_open(u_int32_t **csp0base, u_int32_t offset) {
}
u_int32_t Beb_Read32(u_int32_t *baseaddr, u_int32_t offset) {
volatile u_int32_t value;
value = *(u_int32_t *)(baseaddr + offset / (sizeof(u_int32_t)));
return value;
return *(volatile u_int32_t *)(baseaddr + offset / sizeof(u_int32_t));
}
u_int32_t Beb_Write32(u_int32_t *baseaddr, u_int32_t offset, u_int32_t data) {