Made accesses to clock registers volatile

Change-Id: Ieb21bf648ea2c3a52b644a597225a93fd7b32ad8
issue_1022
David Banks 2017-04-30 10:57:06 +01:00
rodzic 8b0cb940f8
commit d54fba890a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -23,8 +23,8 @@
#define GZ_CLK_BUSY (1 << 7)
#define GP_CLK1_CTL (uint32_t *)(PERIPHERAL_BASE + 0x101078)
#define GP_CLK1_DIV (uint32_t *)(PERIPHERAL_BASE + 0x10107C)
#define GP_CLK1_CTL (volatile uint32_t *)(PERIPHERAL_BASE + 0x101078)
#define GP_CLK1_DIV (volatile uint32_t *)(PERIPHERAL_BASE + 0x10107C)
#define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 512