Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 834 → Rev 835

/C-OSD/trunk/CHANGE.LOG
18,6 → 18,11
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
****************************************************************************/
 
20101116-2110
*increased buffer so the new config struct really fits (fixes garbage after setting name)
*fixed GPS-blink on startup
*re-enable some ascii-char mappings (some people do have underscores in their setting-names)
 
20101115-2115
*inserted missing new value in config-struct. should fix setting-name.
 
/C-OSD/trunk/config.c
99,8 → 99,8
paramset_serial setting;
setting = *((paramset_serial*)pRxData);
 
write_ascii_string_pgm(2, 6, PSTR("Setting: "));
write_ndigit_number_u(11, 6, setting.SettingsIndex, 1, 1);
write_ascii_string_pgm(2, 6, PSTR("Setting :"));
write_ndigit_number_u(10, 6, setting.SettingsIndex, 1, 1);
write_ascii_string_len(13, 6, setting.param.Name, 12);
 
uint8_t cells = 0;
/C-OSD/trunk/default/dist.bat
19,7 → 19,7
:: * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
:: ****************************************************************************/
 
set DATE=20101008-0945
set DATE=20101116-2110
 
:: date /T
 
/C-OSD/trunk/main.c
465,6 → 465,11
// reset last time counter
seconds_since_last_data = 0;
usart1_DisableTXD();
 
// do not spam too much
if (!(COSD_FLAGS_RUNTIME & COSD_DATARECEIVED)) {
_delay_ms(300);
}
}
}
 
/C-OSD/trunk/max7456_software_spi.c
183,13 → 183,14
else if (c == ';') c = 67; // remap
else if (c == ':') c = 68; // remap
else if (c == ',') c = 69; // remap
// else if (c == '?') c = 66; // remap
// else if (c == '\'') c = 70; // remap
else if (c == '?') c = 66; // remap
else if (c == '\\') c = 70; // remap
else if (c == '_') c = 0xE3; // remap
else if (c == '/') c = 71; // remap
// else if (c == '"') c = 72; // remap
// else if (c == '<') c = 74; // remap
// else if (c == '>') c = 75; // remap
// else if (c == '@') c = 76; // remap
else if (c == '"') c = 72; // remap
else if (c == '<') c = 74; // remap
else if (c == '>') c = 75; // remap
else if (c == '@') c = 76; // remap
write_char(address, c);
}
 
/C-OSD/trunk/osd_ncmode_default.c
270,7 → 270,8
write_time(15, bottom_line, naviData.FlyingTime);
 
write_ndigit_number_u(24, bottom_line, naviData.SatsInUse, 2, 0);
if (!(naviData.NCFlags & NC_FLAG_GPS_OK) && (old_NCFlags & NC_FLAG_GPS_OK)) {
// blink GPS in case no fix...
if (!(naviData.NCFlags & NC_FLAG_GPS_OK) && ((old_NCFlags & NC_FLAG_GPS_OK) || old_NCFlags == 0)) {
for (uint8_t x = 24; x < 28; x++)
write_char_att_xy(x, bottom_line, BLINK);
} else if ((naviData.NCFlags & NC_FLAG_GPS_OK) && !(old_NCFlags & NC_FLAG_GPS_OK)) {
/C-OSD/trunk/usart1.h
23,7 → 23,7
 
#define baud 57600
 
#define RXD_BUFFER_LEN 160
#define RXD_BUFFER_LEN 180
#define TXD_BUFFER_LEN 20 // not so much needed
 
//#define REQUEST_OSD_DATA "#aoAm==EX\r"
87,13 → 87,13
*/
void Decode64(void);
 
/**
* Request Data through usart1 until a answer is received
/**
* Request Data through usart1 until a answer is received
*/
void usart1_request_blocking(unsigned char answer, const char* message);
 
/**
* Request UART Redirect from NC to itself
/**
* Request UART Redirect from NC to itself
*/
void usart1_request_nc_uart(void);