* General stuff for different baudrates:

- ubr argument to slip_arch_int

    - macros for calculating ubr

    - argument -Bbaudrate to tools tunslip and scat
This commit is contained in:
bg- 2007-02-02 13:26:48 +00:00
parent 2918e5ae20
commit 429d41defd
8 changed files with 121 additions and 76 deletions

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)$Id: client.c,v 1.3 2007/02/01 14:34:10 bg- Exp $
* @(#)$Id: client.c,v 1.4 2007/02/02 13:26:49 bg- Exp $
*/
/*
@ -105,9 +105,9 @@ main(int argc, char **argv)
clock_init();
leds_init();
leds_toggle(LEDS_ALL);
slip_arch_init(); /* Must come before first printf */
slip_arch_init(BAUD2UBR(115200)); /* Must come before first printf */
printf("Starting %s "
"($Id: client.c,v 1.3 2007/02/01 14:34:10 bg- Exp $)\n", __FILE__);
"($Id: client.c,v 1.4 2007/02/02 13:26:49 bg- Exp $)\n", __FILE__);
ds2411_init();
sensors_light_init();
cc2420_init();