Browse Source

remove debu info

pull/68/head
frank 5 years ago
parent
commit
101320eddb
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      wiringPi/khadas_vim3.c

+ 0
- 2
wiringPi/khadas_vim3.c View File

@@ -525,8 +525,6 @@ static int _digitalRead(int pin)
if ((pin = _getModeToGpio(lib->mode, pin)) < 0)
return 0;
if(pin >= VIM3_GPIOAO_PIN_START && pin <= VIM3_GPIOAO_PIN_END){
printf("frank_debug : pin: %x\n\n", *(gpio1 + gpioToGPLEVReg(pin)));
// printf("frank_debug : gpioToShiftReg(pin): %x\n\n", gpioToShiftReg(pin));
if ((*(gpio1 + gpioToGPLEVReg(pin)) & (1 << gpioToShiftReg(pin))) != 0)
return HIGH;
else


Loading…
Cancel
Save