aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2015-07-26 14:13:56 +0000
committerFabio Utzig <utzig@utzig.org>2015-07-26 14:13:56 +0000
commit0e66de1991590869f7deafc1b14447360be40869 (patch)
tree5518d1a5c4586a4baa2c44961bbdb561f004e0bb /os
parent408bbff93e49a6803c9f68016d4745477a312e35 (diff)
downloadChibiOS-0e66de1991590869f7deafc1b14447360be40869.tar.gz
ChibiOS-0e66de1991590869f7deafc1b14447360be40869.tar.bz2
ChibiOS-0e66de1991590869f7deafc1b14447360be40869.zip
[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
Diffstat (limited to 'os')
-rw-r--r--os/nil/ports/AVR/nilcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/nil/ports/AVR/nilcore.h b/os/nil/ports/AVR/nilcore.h
index 3da48c262..4d3122c22 100644
--- a/os/nil/ports/AVR/nilcore.h
+++ b/os/nil/ports/AVR/nilcore.h
@@ -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; \
}