Skip to content
Browse files

add log links

  • Loading branch information...
jabdoa2 committed Jun 4, 2019
1 parent 95810af commit 30258abce59ea1d810827fdcc178938073394f26
Showing with 33 additions and 0 deletions.
  1. +1 −0 index.rst
  2. +25 −0 logs/Log-SwitchController-1.rst
  3. +7 −0 logs/index.rst
@@ -60,6 +60,7 @@
Game Variable Reference </game_vars/index>
Machine Variable Reference </machine_vars/index>
Player Variable Reference </player_vars/index>
Log Reference </logs/index>

.. toctree::
@@ -0,0 +1,25 @@
Log-SwitchController-1 - Received duplicate switch state for switch

MPF expects to get only state changes from platforms.
That is part of the platform interface contract.
This warning indicates that the contract is violated (i.e. because MPF got a
switch close but the switch has been closed before).
This might indicate bugs in the platform firmware, our platform interface or
the communication in between.

MPF handles this gracefully so there is no need to worry.
It will just ignore the second hit and carry on.

There are conditions where you will see this.
Our smart virtual platform will sometimes trigger this.
Those are kind of bugs.
Usually harmless but we will fix them if you report them.

Additionally, you can trigger those warnings if you use more than source of
switch states at once for the same switch.
That could be any two of a hardware platform, MPF monitor or keyboard mappings.

Lastly, the P-Roc is known for sending switches twice when using debounced
This has to do with its internal state machine and is usually harmless.
@@ -0,0 +1,7 @@
Log and Error Descriptions

.. toctree::
:maxdepth: 2


0 comments on commit 30258ab

Please sign in to comment.
You can’t perform that action at this time.