Skip to content

fix invertCMDin and invertCMDout settings

This MR removes the zturn_adapter parameter in config file and adds invertCMDin and invertCMDout into config file for PBv3TBMassive20210504.

The reason for this change is that ZTurn worker 3 needs CMDout inverted and other workers do not.

Set invertCMDin to be true in config for ZTurn all workers Set invertCMDout to be true in config for ZTurn worker 3; and false for worker 0,1,2,4

Example for worker 3:

    "default": {
        "type": "PBv3TBMassive20210504",
        "i2cdev": "/dev/i2c-3",
        "pbdev": "/dev/uio3",
        "hvmuxdev": "/dev/spidev4.0",
        "invertCMDin": true,
        "invertCMDout": true
    },

Example for other workers:

    "default": {
        "type": "PBv3TBMassive20210504",
        "i2cdev": "/dev/i2c-1",
        "pbdev": "/dev/uio1",
        "hvmuxdev": "/dev/spidev2.0",
        "invertCMDin": true,
        "invertCMDout": false
    },
Edited by Karol Krizka

Merge request reports

Loading