From: Nathael Pajani Date: Tue, 10 Nov 2015 20:34:56 +0000 (+0100) Subject: Remove debug. X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=e6dffa94f8ed758eea3339cf35a9287f527ce43e;p=soft%2Flpc122x%2Fcore Remove debug. --- diff --git a/extdrv/max31855_thermocouple.c b/extdrv/max31855_thermocouple.c index b5ffd56..9aabe4a 100644 --- a/extdrv/max31855_thermocouple.c +++ b/extdrv/max31855_thermocouple.c @@ -29,16 +29,12 @@ #include "drivers/ssp.h" #include "extdrv/max31855_thermocouple.h" -/* Debug */ -#include "lib/stdio.h" - /* Support for thermocouple temperature sensors using Maxim's MAX31855 themocouple * to digital converter. */ - /* Convert raw temperature data (expressed as ....) * into a centimal integer value of ten times the actual temperature. * The value returned is thus in tenth of celcius degrees. @@ -63,7 +59,6 @@ int max31855_sensor_read(const struct max31855_sensor_config* conf, uint16_t* ra { int temp = 0; uint32_t data = 0; - uint16_t raw_temp = 0; /* Get hold of the SPI bus */ if (spi_get_mutex(conf->ssp_bus_num) != 1) { @@ -96,9 +91,6 @@ int max31855_sensor_read(const struct max31855_sensor_config* conf, uint16_t* ra *centi_degrees = temp; } - /* Debug */ - uprintf(0, "TC: data(0x%08x) - raw(0x%04x) - deg: %d,%d\r\n", data, raw_temp, (temp / 100), (temp % 100)); - return 0; }