def __init__(self, stick, payload=''):
        #define YHSM_MONITOR_EXIT        0x7f    // Exit to monitor (no response sent)
        #define YHSM_MONITOR_EXIT_MAGIC  0xbaadbeef
        # typedef struct {
        #   uint32_t magic;                     // Magic number for trigger
        #   uint32_t magicInv;                  // 1st complement of magic
        # } YHSM_MONITOR_EXIT_REQ;

        packed = struct.pack('<II', 0xbaadbeef, 0xbaadbeef - 0xffffffff)
        YHSM_Cmd.__init__(self, stick, pyhsm.defines.YSM_MONITOR_EXIT, packed)
dataset/ETHPy150Open Yubico/python-pyhsm/pyhsm/debug_cmd.py/YHSM_Cmd_Monitor_Exit.__init__/swapped operands of `-`