firmware: expose temp lookup outside disabled UART block
This commit is contained in:
@@ -458,5 +458,5 @@ def test_temp_config_lookup_is_available_to_http_handlers():
|
||||
assert "findTempConfigIndexForUart" not in source
|
||||
|
||||
helper_pos = source.index("int findTempConfigIndexById(")
|
||||
uart_guard_pos = source.index("#if DASHBOARD_UART_ENABLED")
|
||||
assert helper_pos < uart_guard_pos
|
||||
first_uart_guard_pos = source.index("#if DASHBOARD_UART_ENABLED")
|
||||
assert helper_pos < first_uart_guard_pos
|
||||
|
||||
Reference in New Issue
Block a user