From 0e66de1991590869f7deafc1b14447360be40869 Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Sun, 26 Jul 2015 14:13:56 +0000 Subject: [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 --- os/nil/ports/AVR/nilcore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os') 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; \ } -- cgit v1.2.3