<h3>Contribution description</h3>
<p>All addresses to flashpage_page() must be in flash. Flash memory is <code>const</code>, therefore this function must also take <code>const</code> pointers.</p>
<h3>Testing procedure</h3>
<p>Code should still compile.</p>
<h3>Issues/PRs references</h3>


<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/16781'>https://github.com/RIOT-OS/RIOT/pull/16781</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>drivers/flashpage: flashpage_page() takes a const argument</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16781/files#diff-ea2f8df10b60c801cfb40b1c2aba43f32a1e5e8f77aaa9abbcc7541644bc5f88">cpu/stm32/periph/flashpage.c</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16781/files#diff-9d4a0c83a9faa2f47010dae994f2869e5db64f31d6ce893f4e26f07c1679330c">drivers/include/periph/flashpage.h</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16781/files#diff-b243dce0bf9e84bae0163323e0c6a7e2ef72e5c37964479a57dd84604cdd3083">drivers/periph_common/flashpage.c</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16781.patch'>https://github.com/RIOT-OS/RIOT/pull/16781.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16781.diff'>https://github.com/RIOT-OS/RIOT/pull/16781.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16781">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYDYGEOHVNDNQTLTQPDT653LDANCNFSM5C5MBURQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABE7WYGFERL5GCKE3SAG6J3T653LDA5CNFSM5C5MBUR2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OT3NPMQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16781",
"url": "https://github.com/RIOT-OS/RIOT/pull/16781",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>