pico-sdk icon indicating copy to clipboard operation
pico-sdk copied to clipboard

Avoid compound assignment with volatile left operand as described in #1017

Open jonathangjertsen opened this issue 2 years ago • 1 comments

Fixes #1017

Checked by compiling a C++ file that includes all the same files included by kitchen_sink.c.

jonathangjertsen avatar Sep 10 '22 21:09 jonathangjertsen

As per #1017 this C++ change will be undone, however...

All except the interp one should be using hw_set_bits anyway, so feel free to update this PR to do that, and then leave the interp = interp | as you have it here, as one such occurrence is probably not worth adjusting warnings for

kilograham avatar Sep 12 '22 18:09 kilograham