瀏覽代碼

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
     }

Loading…
取消
儲存