From a25aaba8712898fd89097a673071b64f954888dc Mon Sep 17 00:00:00 2001 From: hgv5 Date: Mon, 30 May 2022 20:50:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20gpio-des.md=E4=B8=AD=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E4=B8=AD=E6=96=AD=E8=B0=83=E7=94=A8=E7=A4=BA=E4=BE=8B=E6=8B=BC?= =?UTF-8?q?=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hgv5 --- zh-cn/device-dev/driver/driver-platform-gpio-des.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/device-dev/driver/driver-platform-gpio-des.md b/zh-cn/device-dev/driver/driver-platform-gpio-des.md index c338879071..b3d99b7cf8 100644 --- a/zh-cn/device-dev/driver/driver-platform-gpio-des.md +++ b/zh-cn/device-dev/driver/driver-platform-gpio-des.md @@ -302,7 +302,7 @@ static int32_t TestCaseGpioIrqEdge(void) ret = GpioEnableIrq(gpio); if (ret != HDF_SUCCESS) { HDF_LOGE("%s: enable irq fail! ret:%d\n", __func__, ret); - (void)GpioUnSetIrq(gpio); + (void)GpioUnsetIrq(gpio, NULL); return ret; } -- GitLab