浏览代码

debug code

tags/v1.0
Robin Thoni 9 年前
父节点
当前提交
860961cabe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/mainclass.cpp

+ 1
- 1
src/mainclass.cpp 查看文件

@@ -92,7 +92,7 @@ bool MainClass::build_actions_()
92 92
             return false;
93 93
           pifacedigital_write_reg(opt == 'u' ? up_pin(arg) : down_pin(arg),
94 94
             OUTPUT, get_current_device());
95
-          std::cout << get_pins() << std::endl;
95
+          std::cout << std::hex << (int)get_pins() << std::endl;
96 96
           return true;
97 97
           });
98 98
     }

正在加载...
取消
保存