瀏覽代碼

#194

pull/196/head
mstroh76 8 月之前
父節點
當前提交
e058081427
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      wiringPi/wiringPi.c

+ 1
- 1
wiringPi/wiringPi.c 查看文件

@@ -929,7 +929,7 @@ const char* GetPiRevision(char* line, int linelength, unsigned int* revision) {
return NULL; // read error
}
Revision = bswap_32(Revision);
snprintf(line, linelength, "Revision\t: %x", Revision);
snprintf(line, linelength, "Revision\t: %04x", Revision);
c = &line[11];
*revision = Revision;
if (wiringPiDebug)


Loading…
取消
儲存