瀏覽代碼

Merge branch 'WiringPi-master'

Resolving merge conflicts from WIringPi/WiringPi:master
pull/157/head
Jim Parziale 2 年之前
父節點
當前提交
aa70e81cf3
共有 4 個檔案被更改,包括 3 行新增3 行删除
  1. +0
    -0
      debian-template/wiringPi/DEBIAN/postinst
  2. +0
    -0
      debian-template/wiringPi/DEBIAN/postrm
  3. +2
    -2
      wiringPi/drcNet.c
  4. +1
    -1
      wiringPi/wiringPi.h

+ 0
- 0
debian-template/wiringPi/DEBIAN/postinst 查看文件


+ 0
- 0
debian-template/wiringPi/DEBIAN/postrm 查看文件


+ 2
- 2
wiringPi/drcNet.c 查看文件

@@ -76,12 +76,12 @@ static int remoteReadline (int fd, char *buf, int max)

static char *getChallenge (int fd)
{
static char buf [1024] ;
static char buf [512] ;
int num ;

for (;;)
{
if ((num = remoteReadline (fd, buf, 1023)) < 0)
if ((num = remoteReadline (fd, buf, 511)) < 0)
return NULL ;
buf [num] = 0 ;



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

@@ -121,7 +121,7 @@
#define PI_MAKER_STADIUM 5

extern const char *piModelNames [21] ;
extern const char *piRevisionNames [21] ;
extern const char *piRevisionNames [16] ;
extern const char *piMakerNames [16] ;
extern const int piMemorySize [ 8] ;



Loading…
取消
儲存