On Tue, Apr 16, 2013 at 7:42 PM, Mike Rice <m...@mikerice.name> wrote:
> Revision: 2348
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2348
> Author:   swfltek
> Date:     2013-04-16 23:42:05 +0000 (Tue, 16 Apr 2013)
> Log Message:
...
>  /*
> -       This function increments __system time by one second. It is safe to 
> call from a 'naked' ISR.
> +    Impoved system_tick Credit to Wouter van Gulik.
>  */
....
> +    ret

Is there an issue with this code when run on a XMega that requires
ISR's to end with RETI?

Need a XMega and non-XMega version of this function?  Doesn't sound good.

Normal prolog/epilog deal with that I believe but this is intended to
be 'naked'.
How do you get automatic RET vs RETI?

_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to