<p></p>
<blockquote>
<p>Btw: Why does this return int when all the other irq_* functions return unsigned?</p>
</blockquote>
<p>I have simply the tendency to always use int for boolean return values when doing low-level C coding, hence the int in this case. Did never really mind the return values of the other functions in this module as of now. I personally don't have a strong preference, both get the job done. Would you prefer using unsigned?</p>

<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/11117#issuecomment-901813718">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYHUF3BRUG3Q473PMELT5TO7XANCNFSM4G4FSUNQ">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&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/ABE7WYHVQMZMVRHWN6AYCPLT5TO7XA5CNFSM4G4FSUN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGXAJLVQ.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/11117#issuecomment-901813718",
"url": "https://github.com/RIOT-OS/RIOT/pull/11117#issuecomment-901813718",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>