From 35d520f7eda2554a41a7a619f209f7465e34b478 Mon Sep 17 00:00:00 2001
From: Sebastian Krzyszkowiak <dos@dosowisko.net>
Date: Wed, 11 Oct 2023 19:34:33 +0200
Subject: [PATCH] Revert "qstr print"

This reverts commit 417a3b399ae4755802b6aca31e0df3a6a1716bd5.
---
 components/micropython/vendor/py/qstr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/micropython/vendor/py/qstr.c b/components/micropython/vendor/py/qstr.c
index 7946fc29f8..ea700566f4 100644
--- a/components/micropython/vendor/py/qstr.c
+++ b/components/micropython/vendor/py/qstr.c
@@ -136,7 +136,7 @@ STATIC const qstr_pool_t *find_qstr(qstr *q) {
 
 // qstr_mutex must be taken while in this function
 STATIC qstr qstr_add(mp_uint_t hash, mp_uint_t len, const char *q_ptr) {
-    printf("QSTR: add hash=%d len=%d data=%.*s\n", (int)hash, (int)len, (int)len, q_ptr);
+    DEBUG_printf("QSTR: add hash=%d len=%d data=%.*s\n", hash, len, len, q_ptr);
 
     // make sure we have room in the pool for a new qstr
     if (MP_STATE_VM(last_pool)->len >= MP_STATE_VM(last_pool)->alloc) {
-- 
GitLab