diff --git a/src/load/load.h b/src/load/load.h index e473b71..0b6d1d6 100644 --- a/src/load/load.h +++ b/src/load/load.h @@ -28,10 +28,23 @@ #define HIGHTHRESH 1000 -#ifndef HYSTERESIS -#define HYSTERESIS 900 +/** + * @brief The upper Hystersis value. + * This is the upper bound of the digital/boolean hysteresis curve. + */ +#ifndef HYSTERESIS_HI +#define HYSTERESIS_HI 900 #endif +/** + * @brief The lower Hystersis value. + * This is the upper bound of the digital/boolean hysteresis curve. + */ +#ifndef HYSTERESIS_LO +#define HYSTERESIS_LO 700 +#endif + + /** * @brief Checks if the adc pin is inbetween LOWTHRESH and HIGHTHRESH and then * sets or disables the output pin on PORTA.