Moved some variables around, moved packetbuf_copyto before LED flash