[AVR] 3-byte PC parts save 0 to pcx

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8108 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Fabio Utzig 2015-07-26 14:13:56 +00:00
parent 408bbff93e
commit 0e66de1991
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ struct port_intctx {
(tp)->ctxp->r3 = (int)pf >> 8; \
(tp)->ctxp->r4 = (int)arg; \
(tp)->ctxp->r5 = (int)arg >> 8; \
(tp)->ctxp->pcx = (int)_port_thread_start >> 16; \
(tp)->ctxp->pcx = (int)0; \
(tp)->ctxp->pcl = (int)_port_thread_start >> 8; \
(tp)->ctxp->pch = (int)_port_thread_start; \
}