Skip to content

Commit 5177bdc

Browse files
committed
codal_app/microbithal: Remove now-unused microbit_hal_display_clear.
Signed-off-by: Damien George <damien@micropython.org>
1 parent a5dd649 commit 5177bdc

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/codal_app/microbithal.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,6 @@ void microbit_hal_display_enable(int value) {
319319
}
320320
}
321321

322-
void microbit_hal_display_clear(void) {
323-
uBit.display.clear();
324-
}
325-
326322
int microbit_hal_display_get_pixel(int x, int y) {
327323
uint32_t pixel = uBit.display.image.getPixelValue(x, y);
328324
if (pixel == 255) {

src/codal_app/microbithal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ int microbit_hal_spi_transfer(size_t len, const uint8_t *src, uint8_t *dest);
138138
int microbit_hal_button_state(int button, int *was_pressed, int *num_presses);
139139

140140
void microbit_hal_display_enable(int value);
141-
void microbit_hal_display_clear(void);
142141
int microbit_hal_display_get_pixel(int x, int y);
143142
void microbit_hal_display_set_pixel(int x, int y, int bright);
144143
int microbit_hal_display_read_light_level(void);

0 commit comments

Comments
 (0)