diff --git a/src/shared/drivers/stepper/Stepper.h b/src/shared/drivers/stepper/Stepper.h index 80f61e075e5b44f408b03fd1e3d43f9f89bee9f0..fa22b4641be1ce4e4a98c9ce85eac281ea360bce 100644 --- a/src/shared/drivers/stepper/Stepper.h +++ b/src/shared/drivers/stepper/Stepper.h @@ -1,5 +1,5 @@ /* Copyright (c) 2022 Skyward Experimental Rocketry - * Authors: Alberto Nidasio + * Author: Alberto Nidasio * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/src/shared/sensors/BME280/BME280.cpp b/src/shared/sensors/BME280/BME280.cpp index 4701793dfe05f765013c3a2a672a9f2276933808..fa7e578f73c29939bc59db35d525f3d183c02647 100644 --- a/src/shared/sensors/BME280/BME280.cpp +++ b/src/shared/sensors/BME280/BME280.cpp @@ -269,8 +269,6 @@ bool BME280::checkWhoAmI() uint8_t whoAmIValue = transaction.readRegister(REG_ID); - printf("%2X\n", whoAmIValue); - return whoAmIValue == REG_ID_VAL; } diff --git a/src/shared/sensors/BMP280/BMP280.cpp b/src/shared/sensors/BMP280/BMP280.cpp index 12a1f15b75f826078d5f7dc11a35270d80cd6368..11839de28598dcfc60d049bc5985e4cba3c8f283 100644 --- a/src/shared/sensors/BMP280/BMP280.cpp +++ b/src/shared/sensors/BMP280/BMP280.cpp @@ -192,7 +192,6 @@ BMP280Data BMP280::sampleImpl() uint8_t buffer[8]; int32_t adcTemperature = 0; int32_t adc_P = 0; - int32_t adc_H = 0; BMP280Data data; // TODO: implement selective read! @@ -212,9 +211,6 @@ BMP280Data BMP280::sampleImpl() adc_P |= ((uint32_t)buffer[1]) << 4; adc_P |= (buffer[2] >> 4) & 0x0F; - adc_H |= ((uint32_t)buffer[6] << 8); - adc_H |= buffer[7]; - // Compensate temperature fineTemperature = computeFineTemperature(adcTemperature); data.temperatureTimestamp = TimestampTimer::getInstance().getTimestamp(); @@ -234,8 +230,6 @@ bool BMP280::checkWhoAmI() uint8_t whoAmIValue = transaction.readRegister(REG_ID); - printf("%2X\n", whoAmIValue); - return whoAmIValue == REG_ID_VAL; } diff --git a/src/tests/drivers/stepper/test-stepper.cpp b/src/tests/drivers/stepper/test-stepper.cpp index 4072e5269484a11e9fe2606943a468b35aed8573..3b27f5f0f565a98e6c41882148f92e31f2ef2ae2 100644 --- a/src/tests/drivers/stepper/test-stepper.cpp +++ b/src/tests/drivers/stepper/test-stepper.cpp @@ -1,5 +1,5 @@ /* Copyright (c) 2022 Skyward Experimental Rocketry - * Authors: Alberto Nidasio + * Author: Alberto Nidasio * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal