USCRPL / mbed-cmake

Use the power of CMake to create your MBed applications
36 stars 9 forks source link

error #46

Open moghulvasa opened 1 year ago

moghulvasa commented 1 year ago

ssize_t BufferedSerial::write_unbuffered(const char *buf_ptr, size_t length) { while (!_txbuf.empty()) { tx_irq(); }

for (size_t data_written = 0; data_written < length; data_written++) {
    SerialBase::_base_putc(*buf_ptr++);
}

return length;

}