Rev 1296 Rev 1305
Line 310... Line 310...
310 UCSR0B = 0; 310 UCSR0B = 0;
311 rxfifo.idx_r = 0; 311 rxfifo.idx_r = 0;
312 rxfifo.idx_w = 0; 312 rxfifo.idx_w = 0;
313 rxfifo.count = 0; 313 rxfifo.count = 0;
314 UBRR0L = SYSCLK/16/GPS_BAUDRATE; 314 UBRR0L = SYSCLK/16/GPS_BAUDRATE;
315 1c8: 51 e4 ldi r21, 0x41 ; 65 315 1c8: 52 e8 ldi r21, 0x82 ; 130
316 UCSR0B = _BV(RXCIE0)|_BV(RXEN0)|_BV(TXEN0); 316 UCSR0B = _BV(RXCIE0)|_BV(RXEN0)|_BV(TXEN0);
317 1ca: 48 e9 ldi r20, 0x98 ; 152 317 1ca: 48 e9 ldi r20, 0x98 ; 152
318 1cc: 01 c0 rjmp .+2 ; 0x1d0 <get_line+0xa> 318 1cc: 01 c0 rjmp .+2 ; 0x1d0 <get_line+0xa>
319 /* Get a line received from GPS module */ 319 /* Get a line received from GPS module */
320 /*----------------------------------------------------*/ 320 /*----------------------------------------------------*/
Line 657... Line 657...
657 rxfifo.idx_w = 0; 657 rxfifo.idx_w = 0;
658 378: 10 92 76 01 sts 0x0176, r1 658 378: 10 92 76 01 sts 0x0176, r1
659 rxfifo.count = 0; 659 rxfifo.count = 0;
660 37c: 10 92 78 01 sts 0x0178, r1 660 37c: 10 92 78 01 sts 0x0178, r1
661 UBRR0L = SYSCLK/16/GPS_BAUDRATE; 661 UBRR0L = SYSCLK/16/GPS_BAUDRATE;
662 380: 81 e4 ldi r24, 0x41 ; 65 662 380: 82 e8 ldi r24, 0x82 ; 130
663 382: 80 93 c4 00 sts 0x00C4, r24 663 382: 80 93 c4 00 sts 0x00C4, r24
664 UCSR0B = _BV(RXCIE0)|_BV(RXEN0)|_BV(TXEN0); 664 UCSR0B = _BV(RXCIE0)|_BV(RXEN0)|_BV(TXEN0);
665 386: 88 e9 ldi r24, 0x98 ; 152 665 386: 88 e9 ldi r24, 0x98 ; 152
666 388: 80 93 c1 00 sts 0x00C1, r24 666 388: 80 93 c1 00 sts 0x00C1, r24
667 Stat &= 0xFD; // Clear overflow flag 667 Stat &= 0xFD; // Clear overflow flag