From b1b8cf1aa95c3bbd5832f7bd30c07f5e7ea06065 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 9 Nov 2020 14:47:37 +0100 Subject: [PATCH] dhcp debugging --- cube/User/Src/wizHelper.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cube/User/Src/wizHelper.c b/cube/User/Src/wizHelper.c index 51f76b6..def7002 100644 --- a/cube/User/Src/wizHelper.c +++ b/cube/User/Src/wizHelper.c @@ -34,23 +34,23 @@ void wiz_cs_deselect(void) { uint8_t wiz_spi_readbyte(void) { uint8_t rbuf; HAL_SPI_Receive(ðerSpi, &rbuf, 1, HAL_MAX_DELAY); - coloredMsg(LOG_YELLOW, "R: %02x", rbuf); + // coloredMsg(LOG_YELLOW, "R: %02x", rbuf); return rbuf; } void wiz_spi_writebyte(uint8_t wb) { - coloredMsg(LOG_YELLOW, "W: %02x", wb); + // coloredMsg(LOG_YELLOW, "W: %02x", wb); HAL_SPI_Transmit(ðerSpi, &wb, 1, HAL_MAX_DELAY); } void wiz_spi_readburst(uint8_t* pBuf, uint16_t len) { HAL_SPI_Receive(ðerSpi, pBuf, len, HAL_MAX_DELAY); - coloredMsg(LOG_YELLOW, "RB: %d %02x %02x %02x", len, pBuf[0], pBuf[1], pBuf[2]); + // coloredMsg(LOG_YELLOW, "RB: %d %02x %02x %02x", len, pBuf[0], pBuf[1], pBuf[2]); } void wiz_spi_writeburst(uint8_t* pBuf, uint16_t len) { HAL_SPI_Transmit(ðerSpi, pBuf, len, HAL_MAX_DELAY); - coloredMsg(LOG_YELLOW, "WB: %d %02x %02x %02x", len, pBuf[0], pBuf[1], pBuf[2]); + // coloredMsg(LOG_YELLOW, "WB: %d %02x %02x %02x", len, pBuf[0], pBuf[1], pBuf[2]); } static void wizReset(bool b) {