rumpeltux / stm8s-sdcc-examples

Example codes using sdcc to target STM8S MCUs.
43 stars 13 forks source link

SETBIT operation should not have bitwise negation on value #1

Closed lhoyosm closed 7 months ago

lhoyosm commented 4 years ago

SETBIT operation should not have bitwise negation on value https://github.com/rumpeltux/stm8s-sdcc-examples/blob/e54983d4f5f29466e8913cce7115569e9544a10b/serial_interrupt.c#L13

rumpeltux commented 4 years ago

Ouch. Thanks for letting me know! Does the example still work with the definition fixed?

lhoyosm commented 4 years ago

unfortunately I don't have the hardware to test it yet, next week or so I can report...

lhoyosm commented 4 years ago

Tested and working! #2

rumpeltux commented 4 years ago

Thanks for noticing and fixing!

rumpeltux commented 7 months ago

This was fixed in 450196c7