We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b955b07 commit 855e3deCopy full SHA for 855e3de
1 file changed
lib/pbio/platform/nxt/nxos/_abort.c
@@ -9,29 +9,11 @@
9
#include <stdbool.h>
10
#include <stdint.h>
11
12
-#include <pbio/image.h>
13
-
14
-#include <pbdrv/display.h>
15
16
#include "nxos/interrupts.h"
17
18
#include "nxos/_abort.h"
19
20
-#include "../../../drv/display/display_nxt.h"
21
22
void nx__abort(bool data, uint32_t pc, uint32_t cpsr) {
23
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();
36
while(1);
37
}
0 commit comments