DeqingSun / ch55xduino

An Arduino-like programming API for the CH55X
GNU Lesser General Public License v2.1
448 stars 86 forks source link

Use sbit for uart0_flags #10

Closed nerdralph closed 3 years ago

nerdralph commented 4 years ago

This would be much more efficient than doing bit operations on a byte in xRAM. https://github.com/DeqingSun/ch55xduino/blob/ch55xduino/ch55xduino/ch55x/cores/ch55xduino/HardwareSerial0.c#L11

DeqingSun commented 3 years ago

Now fixed in master branch