forked from xuos/xiuos
modify webserver function using mongoose.a(compile using arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620)
This commit is contained in:
@@ -303,7 +303,7 @@ static int GpioPinIndex(uint16_t pin)
|
||||
int ret = 0;
|
||||
for (; ret <= MAX_PIN_INDEX; ret++) { // ret must be 16-bit
|
||||
if ((0x0001U << ret) & pin) {
|
||||
KPrintf("the int pin is %d\n", ret);
|
||||
// KPrintf("the int pin is %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user