Cast to integral type ignores qualifier volatile

Attempting to cast to a `volatile uint32_t` does nothing different from cast to a `uint32_t`,
with the exception of **_looking like_** it's accessing a register.
This commit is contained in:
Henry Gabryjelski 2021-03-25 14:52:25 -07:00 committed by GitHub
parent 243c208b22
commit d542a60ae6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ extern "C" {
#if (ARDUINO_SAMD_VARIANT_COMPLIANCE >= 10610)
extern const uint32_t __text_start__;
#define APP_START ((volatile uint32_t)(&__text_start__) + 4)
#define APP_START ((uint32_t)(&__text_start__) + 4)
#else