1,3 → 1,5 |
// all constant strings are within the flash to save space in the sram |
#include <avr/pgmspace.h> |
//________________________________________________________________________________________________________________________________________ |
// |
// Definition of gpx-header and footer elements for documents |
5,7 → 7,7 |
//________________________________________________________________________________________________________________________________________ |
|
|
const int8_t GPX_DOCUMENT_HEADER[] = |
const prog_char GPX_DOCUMENT_HEADER[] = |
{ |
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\r\n" |
"<gpx creator=\"NC\" version=\"1.0\" >\r\n" |
23,7 → 25,7 |
// footer of an gpx-file. |
// |
//________________________________________________________________________________________________________________________________________ |
const int8_t GPX_DOCUMENT_FOOTER[] = |
const prog_char GPX_DOCUMENT_FOOTER[] = |
{ |
"</gpx>\r\n" |
}; |
34,7 → 36,7 |
// |
//________________________________________________________________________________________________________________________________________ |
|
const int8_t GPX_TRACK_HEADER[] = |
const prog_char GPX_TRACK_HEADER[] = |
{ |
"<trk>\r\n" |
"<name>Flight</name>\r\n" |
45,7 → 47,7 |
// Footer of a track |
// |
//________________________________________________________________________________________________________________________________________ |
const int8_t GPX_TRACK_FOOTER[] = |
const prog_char GPX_TRACK_FOOTER[] = |
{ |
"</trk>\r\n" |
}; |
55,7 → 57,7 |
// Header of a track segment |
// |
//________________________________________________________________________________________________________________________________________ |
const int8_t GPX_TRACKSEGMENT_HEADER[] = |
const prog_char GPX_TRACKSEGMENT_HEADER[] = |
{ |
"<trkseg>\r\n" |
}; |
65,7 → 67,7 |
// Footer of a track segment |
// |
//________________________________________________________________________________________________________________________________________ |
const int8_t GPX_TRACKSEGMENT_FOOTER[] = |
const prog_char GPX_TRACKSEGMENT_FOOTER[] = |
{ |
"</trkseg>\r\n" |
}; |