diagnostic suppression

This commit is contained in:
Mikayla Fischler 2023-05-05 13:07:48 -04:00
parent 43e708aa0d
commit 0778a442b1

View File

@ -63,6 +63,7 @@ mbt.test_error__check_request(MODBUS_EXCODE.NEG_ACKNOWLEDGE)
println("PASS") println("PASS")
print("99 {1,2}: ") print("99 {1,2}: ")
---@diagnostic disable-next-line: param-type-mismatch
mbt.pkt_set(99, {1, 2}) mbt.pkt_set(99, {1, 2})
mbt.test_error__check_request(MODBUS_EXCODE.ILLEGAL_FUNCTION) mbt.test_error__check_request(MODBUS_EXCODE.ILLEGAL_FUNCTION)
println("PASS") println("PASS")