diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-28 21:13:34 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-28 21:13:34 +0200 |
commit | 37156fb0b2a2f15614a34875c23892c6d9b95f90 (patch) | |
tree | 45b68bfad516c22b1c1b2743c092e6aa7a50bf49 /sys/src/9/pc/etherwpi.c | |
parent | 8799bf292d718f9dae45c3b897cba20d8d1246b5 (diff) |
etherwpi: remove debug prints, use iprint() in interrupt
Diffstat (limited to 'sys/src/9/pc/etherwpi.c')
-rw-r--r-- | sys/src/9/pc/etherwpi.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/src/9/pc/etherwpi.c b/sys/src/9/pc/etherwpi.c index 32dbdf0d3..76357a32d 100644 --- a/sys/src/9/pc/etherwpi.c +++ b/sys/src/9/pc/etherwpi.c @@ -552,14 +552,10 @@ wpiinit(Ether *edev) g->maxpwr = b[60]; g->chan = b[61]; g->temp = get16(b+62); - print("pwrgroup %d: %d %d %d\n", i, g->chan, g->maxpwr, g->temp); - print("samples"); for(j = 0; j < 5; j++){ g->samples[j].index = b[j*4]; g->samples[j].power = b[j*4+1]; - print(", %d %d", g->samples[j].index, g->samples[j].power); } - print("\n"); } poweroff(ctlr); @@ -1741,7 +1737,7 @@ wpiinterrupt(Ureg*, void *arg) receive(ctlr); if(isr & Ierr){ ctlr->broken = 1; - print("#l%d: fatal firmware error, lastcmd %ud\n", edev->ctlrno, ctlr->tx[4].lastcmd); + iprint("#l%d: fatal firmware error, lastcmd %ud\n", edev->ctlrno, ctlr->tx[4].lastcmd); } ctlr->wait.m |= isr; if(ctlr->wait.m & ctlr->wait.w) |