Skip to content
Snippets Groups Projects
Commit 65fe153a authored by Manon MALIQUE's avatar Manon MALIQUE
Browse files

Displaying of corrections values

parent 43cc173f
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "neocampus.h" // _MAX_COOLDOWN_SENSOR #include "neocampus.h" // _MAX_COOLDOWN_SENSOR
#include "generic_driver.h" #include "generic_driver.h"
#include "neocampus_debug.h" //Manon
...@@ -169,4 +170,9 @@ void generic_driver::setDataSent( void ) { ...@@ -169,4 +170,9 @@ void generic_driver::setDataSent( void ) {
void generic_driver::calibrate(float* pval, float a, float b){ void generic_driver::calibrate(float* pval, float a, float b){
*pval = *pval * a; *pval = *pval * a;
*pval = *pval + b; *pval = *pval + b;
log_debug(F("\n[generic_drivers][calibration] Calibration effectuée ! a="));
log_debug(a);
log_debug(F("\n ; b="));
log_debug(b);log_flush();
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment