Browse Source

AP_GPS: remove comments about AVR boards

master
Lucas De Marchi 9 years ago committed by Andrew Tridgell
parent
commit
24e5deb906
  1. 4
      libraries/AP_GPS/GPS_Backend.cpp
  2. 2
      libraries/AP_GPS/examples/GPS_UBLOX_passthrough/GPS_UBLOX_passthrough.cpp

4
libraries/AP_GPS/GPS_Backend.cpp

@ -60,8 +60,6 @@ int16_t AP_GPS_Backend::swap_int16(int16_t v) const @@ -60,8 +60,6 @@ int16_t AP_GPS_Backend::swap_int16(int16_t v) const
/**
calculate current time since the unix epoch in microseconds
This costs about 60 usec on AVR2560
*/
uint64_t AP_GPS::time_epoch_usec(uint8_t instance)
{
@ -80,8 +78,6 @@ uint64_t AP_GPS::time_epoch_usec(uint8_t instance) @@ -80,8 +78,6 @@ uint64_t AP_GPS::time_epoch_usec(uint8_t instance)
/**
fill in time_week_ms and time_week from BCD date and time components
assumes MTK19 millisecond form of bcd_time
This function takes about 340 usec on the AVR2560
*/
void AP_GPS_Backend::make_gps_time(uint32_t bcd_date, uint32_t bcd_milliseconds)
{

2
libraries/AP_GPS/examples/GPS_UBLOX_passthrough/GPS_UBLOX_passthrough.cpp

@ -2,8 +2,6 @@ @@ -2,8 +2,6 @@
/*
* GPS UBlox passthrough sketch
* Code by DIYDrones.com
*
* Works with APM2.x
*/
#include <stdlib.h>

Loading…
Cancel
Save