forked from xuos/xiuos
delete useless KPrintf in ok1052-c and xidatong board
This commit is contained in:
parent
0e0564f377
commit
a38c057cd9
|
@ -460,8 +460,6 @@ uint32 Imxrt1052PinWrite(void *dev, struct BusBlockWriteParam *write_param)
|
||||||
return ERROR;
|
return ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
KPrintf("Imxrt1052PinWrite gpio 0x%x val %u\n", pin_index.gpio, pin_stat->val);
|
|
||||||
|
|
||||||
if (GPIO_LOW == pin_stat->val) {
|
if (GPIO_LOW == pin_stat->val) {
|
||||||
GPIO_PinWrite(pin_index.gpio, pin_index.pin, 0);
|
GPIO_PinWrite(pin_index.gpio, pin_index.pin, 0);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -460,8 +460,6 @@ uint32 Imxrt1052PinWrite(void *dev, struct BusBlockWriteParam *write_param)
|
||||||
return ERROR;
|
return ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
KPrintf("Imxrt1052PinWrite gpio 0x%x val %u\n", pin_index.gpio, pin_stat->val);
|
|
||||||
|
|
||||||
if (GPIO_LOW == pin_stat->val) {
|
if (GPIO_LOW == pin_stat->val) {
|
||||||
GPIO_PinWrite(pin_index.gpio, pin_index.pin, 0);
|
GPIO_PinWrite(pin_index.gpio, pin_index.pin, 0);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue