From 63debdf6134f744909f3490cc41d18a21197e8fb Mon Sep 17 00:00:00 2001 From: Kelvin Lawson Date: Tue, 5 Mar 2013 01:17:23 +0000 Subject: [PATCH] AVR: Typo tcb_save_ptr should be sp_save_ptr. --- ports/avr/atomport-asm.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/avr/atomport-asm.s b/ports/avr/atomport-asm.s index 0a84b20..b6dd276 100644 --- a/ports/avr/atomport-asm.s +++ b/ports/avr/atomport-asm.s @@ -148,7 +148,7 @@ archContextSwitch: mov r28,r24 /* Move old_tcb_ptr param into the Y-regs so we */ mov r29,r25 /* can access the TCB via a pointer. */ - st Y,r16 /* Store SPH/SPL to old_tcb_ptr->tcb_save_ptr which */ + st Y,r16 /* Store SPH/SPL to old_tcb_ptr->sp_save_ptr which */ std Y+1,r17 /* is conveniently the first member of the TCB. */