From 62bb745f142b2d665fd4b90b7f3ee6e65f51d4c3 Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Thu, 2 Feb 2023 20:23:01 +0100 Subject: [PATCH] [SC64][SW] Bootloader PI IO functions fix --- sw/bootloader/src/sc64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/bootloader/src/sc64.h b/sw/bootloader/src/sc64.h index 6593f95..41d68b4 100644 --- a/sw/bootloader/src/sc64.h +++ b/sw/bootloader/src/sc64.h @@ -110,8 +110,8 @@ typedef struct { #define SC64_BUFFERS ((sc64_buffers_t *) SC64_BUFFERS_BASE) typedef struct { - uint32_t (*read)(io32_t *address); - void (*write)(io32_t *address, uint32_t value); + uint32_t (*read)(volatile uint32_t *address); + void (*write)(volatile uint32_t *address, uint32_t value); } sc64_pi_io_t;