comparison packages/redboot/current/src/main.c @ 791:a2dfa8bf3c57

Export RedBoot FIS functions - from Knud Woehler <knud.woehler@microplex.de>
author gthomas
date Mon, 03 Mar 2003 17:09:56 +0000
parents 17d4ac30ee71
children 900f348771ef
comparison
equal deleted inserted replaced
790:182dec503417 791:a2dfa8bf3c57
520 } 520 }
521 521
522 int 522 int
523 set_console_baud_rate(int rate) 523 set_console_baud_rate(int rate)
524 { 524 {
525 int ret; 525 int ret = -1;
526 #ifdef CYGPKG_REDBOOT_ANY_CONSOLE 526 #ifdef CYGPKG_REDBOOT_ANY_CONSOLE
527 if (!console_selected) { 527 if (!console_selected) {
528 int cur = CYGACC_CALL_IF_SET_CONSOLE_COMM(CYGNUM_CALL_IF_SET_COMM_ID_QUERY_CURRENT); 528 int cur = CYGACC_CALL_IF_SET_CONSOLE_COMM(CYGNUM_CALL_IF_SET_COMM_ID_QUERY_CURRENT);
529 int i; 529 int i;
530 // Set baud for all channels 530 // Set baud for all channels