Skip to content

Commit 33d98c0

Browse files
committed
add Print:flush()
1 parent aa0f46c commit 33d98c0

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/githubci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
- 'ledglasses_nrf52840'
2525

2626
steps:
27-
- name: Setup Python
28-
uses: actions/setup-python@v4
29-
with:
30-
python-version: '3.x'
31-
3227
- name: Checkout code
3328
uses: actions/checkout@v4
3429
with:

cores/nRF5/Print.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ class Print
9898
{
9999
return printBufferReverse((uint8_t const*) buffer, size, delim, byteline);
100100
}
101+
102+
virtual void flush() { /* Empty implementation for backward compatibility */ }
101103
};
102104

103105
#endif

0 commit comments

Comments
 (0)