summaryrefslogtreecommitdiff
path: root/examples/device/hid_multiple_interface
diff options
context:
space:
mode:
authorBen Avison <[email protected]>2022-08-24 19:53:12 +0100
committerBen Avison <[email protected]>2022-09-12 18:46:09 +0100
commit6dfc857b916855e57a15813f423987449dd1a935 (patch)
treeff2f95fbfe2f9548767e18dbf6732091cc97a2b5 /examples/device/hid_multiple_interface
parente5355d0335082541ae47b128add049a9d91ec070 (diff)
[rp2040] Explicit cast value of `hw_set_alias`
Some compilers don't support the GNU extension `typeof` so their definitions of `hw_set_alias` can't inherit their type from their argument, and the best we can do is have `hw_set_alias` act the same as `hw_set_alias_untyped`. This requires an explicit cast when the macro is used instead, otherwise IAR generates error Pe132 'expression must have pointer-to-struct-or-union type but it has type "void *"'. The same goes for `hw_clear_alias`.
Diffstat (limited to 'examples/device/hid_multiple_interface')
0 files changed, 0 insertions, 0 deletions