Removed magic numbers in `load.c` for the defines in header.

This commit is contained in:
jakeg00dwin 2024-09-20 18:20:56 -07:00
parent dbdba2ff9e
commit cbede38910
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ static bool portb_disabled[8] = {0};
static bool valid_load(uint16_t val)
{
if(val > 527 && val < 1000) {
if(val > LOWTHRESH && val < HIGHTHRESH) {
return true;
}
return false;