8000 handclang · syntheticfuture/circuitpython@2ff9e97 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ff9e97

Browse files
committed
handclang
1 parent 3890271 commit 2ff9e97

File tree

2 files changed

+3
-3
lines changed
  • ports/raspberrypi/boards/adafruit_macropad_rp2040
  • shared-module/displayio

2 files changed

+3
-3
lines changed

ports/raspberrypi/boards/adafruit_macropad_rp2040/board.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ bool board_requests_safe_mode(void) {
3838
}
3939

4040
void reset_board(void) {
41-
// turn off any left over LED
42-
board_reset_user_neopixels(&pin_GPIO19, 12);
41+
// turn off any left over LED
42+
board_reset_user_neopixels(&pin_GPIO19, 12);
4343
}

shared-module/displayio/Display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ STATIC bool _refresh_area(displayio_display_obj_t *self, const displayio_area_t
249249
// for SH1107 and other boundary constrained controllers
250250
// write one single row at a time
251251
if (self->SH1107_addressing) {
252-
subrectangles = rows_per_buffer/8; // vertical (column mode) write each separately (height times)
252+
subrectangles = rows_per_buffer / 8; // vertical (column mode) write each separately (height times)
253253
rows_per_buffer = 8;
254254
} else if (displayio_area_size(&clipped) > buffer_size * pixels_per_word) {
255255
rows_per_buffer = buffer_size * pixels_per_word / displayio_area_width(&clipped);

0 commit comments

Comments
 (0)
0