fixed a latent bug in ll.c
Merge branch 'master' into xbee6