DeqingSun / ch55xduino

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

pull improvements from ch554_sdcc #9

Closed nerdralph closed 3 years ago

nerdralph commented 4 years ago

For example: https://github.com/Blinkinlabs/ch554_sdcc/issues/19

It seems you copied most of the HardwareSerial0 code from debug.c. x1 and x2 should be changed here: https://github.com/DeqingSun/ch55xduino/blob/ch55xduino/ch55xduino/ch55x/cores/ch55xduino/HardwareSerial0.c#L23

DeqingSun commented 3 years ago

Fixed in https://github.com/DeqingSun/ch55xduino/commit/b67ded02cc423e7808fe95018d06adceb98cdb17 Seems save about 60 bytes and some xram space Will be merged into main branch in the next release.