Z21: fix input address validation
Dieser Commit ist enthalten in:
Ursprung
7e690d1fce
Commit
948b10d422
@ -138,7 +138,7 @@ std::pair<uint32_t, uint32_t> Z21Interface::inputAddressMinMax(uint32_t channel)
|
|||||||
|
|
||||||
void Z21Interface::inputSimulateChange(uint32_t channel, uint32_t address, SimulateInputAction action)
|
void Z21Interface::inputSimulateChange(uint32_t channel, uint32_t address, SimulateInputAction action)
|
||||||
{
|
{
|
||||||
if(m_kernel && inRange(address, outputAddressMinMax(channel)))
|
if(m_kernel && inRange(address, inputAddressMinMax(channel)))
|
||||||
m_kernel->simulateInputChange(channel, address, action);
|
m_kernel->simulateInputChange(channel, address, action);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren