AVR: Typo tcb_save_ptr should be sp_save_ptr.

This commit is contained in:
Kelvin Lawson
2013-03-05 01:17:23 +00:00
parent 02d14edd9e
commit 63debdf613

View File

@@ -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. */