From ffe0eebc2879b44ebd519978e70fbb42da4759b7 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Sun, 16 Jul 2023 20:38:13 +0800 Subject: [PATCH] delete some logs --- ses_layout.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ses_layout.c b/ses_layout.c index 793b32b..affc2eb 100644 --- a/ses_layout.c +++ b/ses_layout.c @@ -636,7 +636,6 @@ int ses_layout_function(ScfEfunction* f, int d) if (p1->x < 0) p1->x = -p1->x; - scf_loge("c0: %ld, p0->x: %d, p1->x: %d\n", c0->id, p0->x, p1->x); } } next: @@ -692,7 +691,7 @@ next: f->w -= mx - d * 2; f->h += d; - scf_loge("f->x: %d, y: %d, w: %d, h: %d, mx: %d\n", f->x, f->y, f->w, f->h, mx); + scf_loge("f->x: %d, y: %d, w: %d, h: %d\n", f->x, f->y, f->w, f->h); return 0; } @@ -814,8 +813,6 @@ int ses_layout_draw(ScfEboard* b, uint32_t bx, uint32_t by, uint32_t bw, uint32_ for (j = 0; j < f->n_components; j++) { c = f->components[j]; - - scf_logw("j: %ld, c->id: %ld, n_pins: %ld, ", j, c->id, c->n_pins); uint8_t text[64]; snprintf(text, sizeof(text) - 1, "%ld", c->id); @@ -955,8 +952,6 @@ int ses_layout_draw(ScfEboard* b, uint32_t bx, uint32_t by, uint32_t bw, uint32_ break; }; cairo_stroke(cr); - - printf("\n"); } } -- 2.25.1