From cf22dd8067f18fbefe1413b41e19064d9e4034bb Mon Sep 17 00:00:00 2001
From: schneider <schneider@blinkenlichts.net>
Date: Tue, 26 Jan 2021 09:11:56 +0100
Subject: [PATCH] chore(mp-ble): Remove some debug prints

---
 pycardium/modules/modbluetooth_card10.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/pycardium/modules/modbluetooth_card10.c b/pycardium/modules/modbluetooth_card10.c
index adcc21efe..5914dda3b 100644
--- a/pycardium/modules/modbluetooth_card10.c
+++ b/pycardium/modules/modbluetooth_card10.c
@@ -196,11 +196,6 @@ static void clear_events(void)
 
 static void handle_att_event(struct epic_att_event *att_event)
 {
-	printf("MP got att event %d,%d,%d\n",
-	       att_event->hdr.event,
-	       att_event->hdr.status,
-	       att_event->handle);
-
 	if (att_event->hdr.event == ATTS_HANDLE_VALUE_CNF) {
 		gatts_status_entry_t *e =
 			gatts_status_lookup(GATTS_STATUS, att_event->handle);
@@ -215,7 +210,6 @@ static void handle_att_event(struct epic_att_event *att_event)
 static void handle_dm_event(struct epic_dm_event *dm_event)
 {
 	struct epic_wsf_header *hdr = (struct epic_wsf_header *)dm_event;
-	printf("MP got dm event %d,%d\n", hdr->event, hdr->status);
 
 	if (hdr->event == DM_CONN_OPEN_IND) {
 		struct epic_hciLeConnCmpl_event *e =
@@ -241,14 +235,9 @@ static void handle_dm_event(struct epic_dm_event *dm_event)
 
 static void handle_att_write(struct epic_att_write *att_write)
 {
-	printf("MP got att write %d,%d\n",
-	       att_write->handle,
-	       att_write->valueLen);
-
 	mp_bluetooth_gatts_db_entry_t *entry =
 		mp_bluetooth_gatts_db_lookup(GATTS_DB, att_write->handle);
 	if (!entry) {
-		printf("ble: epic_att_write handle not found\n");
 		return;
 	}
 
-- 
GitLab