Project

General

Profile

Warning in esp32_digital_input_demo

Added by Johan Henning almost 2 years ago

When building the esp32_digital_input_demo a warning is generated:

Source 'esp32_digital_input_demo/Digital Input' specifies that its sample time (-1) is back-inherited.
You should explicitly specify the sample time of sources.
You can disable this diagnostic by setting the 'Source block specifies -1 sample time' diagnostic to 'none'
in the Sample Time group on the Diagnostics pane of the Configuration Parameters dialog box.

This can be solved by specifying the sample time of the input block to for example 0.1 s