Skip to content

Commit

Permalink
extmod/modbtree: Use mp_printf instead of printf.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed Dec 12, 2019
1 parent aad79ad commit e5acd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extmod/modbtree.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ STATIC const mp_obj_type_t btree_type;
}

void __dbpanic(DB *db) {
printf("__dbpanic(%p)\n", db);
mp_printf(&mp_plat_print, "__dbpanic(%p)\n", db);
}

STATIC mp_obj_btree_t *btree_new(DB *db) {
Expand Down

0 comments on commit e5acd06

Please sign in to comment.