diff --git a/src/load/load.c b/src/load/load.c index f31c9d6..faa4a99 100644 --- a/src/load/load.c +++ b/src/load/load.c @@ -30,7 +30,7 @@ static bool porta_disabled[8] = {0}; static bool portb_disabled[8] = {0}; -bool is_valid_load(uint16_t val) +static bool is_valid_load(uint16_t val) { if(val > LOWTHRESH && val < HIGHTHRESH) { return true; @@ -38,7 +38,7 @@ bool is_valid_load(uint16_t val) return false; } -bool is_below_target(uint16_t val) +static bool is_below_target(uint16_t val) { if(val < HYSTERESIS){ return true; diff --git a/src/load/load.h b/src/load/load.h index d36e07d..275ce7a 100644 --- a/src/load/load.h +++ b/src/load/load.h @@ -50,19 +50,6 @@ void Load_HandleLoadPortA(uint8_t adc_pin, uint8_t out_pin); */ void Load_HandleLoadPortB(uint8_t adc_pin, uint8_t out_pin); -/** - * @brief A helper function that handles the valid value range. - * @return True/False value. - */ -bool is_valid_load(uint16_t val); - - - -/** - * @brief A helper function that checks if current load value is below target. - * @return True/False value. - */ -bool is_below_target(uint16_t val); #endif /* LOAD_H */