add Print:flush()

This commit is contained in:
hathach 2025-05-30 15:09:12 +07:00
parent aa0f46ce64
commit 33d98c01d8
No known key found for this signature in database
GPG key ID: 26FAB84F615C3C52
2 changed files with 2 additions and 5 deletions

View file

@ -24,11 +24,6 @@ jobs:
- 'ledglasses_nrf52840'
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Checkout code
uses: actions/checkout@v4
with:

View file

@ -98,6 +98,8 @@ class Print
{
return printBufferReverse((uint8_t const*) buffer, size, delim, byteline);
}
virtual void flush() { /* Empty implementation for backward compatibility */ }
};
#endif