server sim base

make check_input_high inline and move it to header file
This commit is contained in:
2026-02-14 14:32:46 +01:00
parent f17676d4ef
commit 9345620fec
2 changed files with 4 additions and 6 deletions
-5
View File
@@ -71,8 +71,3 @@ void Simulator_base::reboot()
// Reboot the simulator
system("reboot");
}
constexpr bool Simulator_base::check_input_high(uint32_t data, uint16_t pinnummer)
{
return (data & (1 << pinnummer));
}