Skip to content

Commit 855e3de

Browse files
committed
pbio/platform/nxt: Do not display error message on abort.
Synchronous screen update support will be removed. Refs: pybricks/support#2425
1 parent b955b07 commit 855e3de

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

lib/pbio/platform/nxt/nxos/_abort.c

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,11 @@
99
#include <stdbool.h>
1010
#include <stdint.h>
1111

12-
#include <pbio/image.h>
13-
14-
#include <pbdrv/display.h>
15-
1612
#include "nxos/interrupts.h"
1713

1814
#include "nxos/_abort.h"
1915

20-
#include "../../../drv/display/display_nxt.h"
21-
2216
void nx__abort(bool data, uint32_t pc, uint32_t cpsr) {
2317
nx_interrupts_disable();
24-
pbio_image_t *display = pbdrv_display_get_image();
25-
pbio_image_fill(display, 0);
26-
if (data) {
27-
pbio_image_print0(display, "Data");
28-
} else {
29-
pbio_image_print0(display, "Prefetch");
30-
}
31-
pbio_image_print0(display, " abort\nPC: ");
32-
pbio_image_print_hex(display, pc);
33-
pbio_image_print0(display, "\nCPSR: ");
34-
pbio_image_print_hex(display, cpsr);
35-
pbdrv_display_nxt_sync_refresh();
3618
while(1);
3719
}

0 commit comments

Comments
 (0)