4525| 4
|
关于驱动例程中 irq中断例程中的问题 |
1金钱
最佳答案你改的是对的,
memset(imx6uirq.irqkeydesc.name, 0, sizeof(name));
sprintf(imx6uirq.irqkeydesc.name, "KEY%d", i);
gpio_request(imx6uirq.irqkeydesc.gpio, name); 《---这里的name都没有赋值过,前面赋值的是imx6uirq.irqkeydesc.name
系统能申请成功应该是用了默认值
| ||
发表于 2020-5-28 09:06:28
|
显示全部楼层
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
发表于 2020-5-28 09:48:20
|
显示全部楼层
| ||
发表于 2020-5-28 10:38:14
|
显示全部楼层
| ||
森罗万象
|
||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-25 12:35
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网