diff --git a/docs/en/api-guides/hlinterrupts.rst b/docs/en/api-guides/hlinterrupts.rst index 97d7fff255..c7ef140dc0 100644 --- a/docs/en/api-guides/hlinterrupts.rst +++ b/docs/en/api-guides/hlinterrupts.rst @@ -77,8 +77,8 @@ Using these symbols is done by creating an assembly file with suffix ``.S`` and .. code-block:: none .section .iram1,"ax" - .global xt_highint5 - .type xt_highint5,@function + .global xt_highint4 + .type xt_highint4,@function .align 4 xt_highint5: ... your code here diff --git a/docs/zh_CN/api-guides/hlinterrupts.rst b/docs/zh_CN/api-guides/hlinterrupts.rst index 8d0c48140f..7f78e1a3d9 100644 --- a/docs/zh_CN/api-guides/hlinterrupts.rst +++ b/docs/zh_CN/api-guides/hlinterrupts.rst @@ -77,8 +77,8 @@ Xtensa 架构支持 32 个中断处理程序,这些中断分为从 1 到 7 的 .. code-block:: none .section .iram1,"ax" - .global xt_highint5 - .type xt_highint5,@function + .global xt_highint4 + .type xt_highint4,@function .align 4 xt_highint5: ... your code here