Renamed serial module to serial-line
This commit is contained in:
parent
a6be9a6d3c
commit
b20f0884ed
5 changed files with 18 additions and 18 deletions
|
@ -1,19 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2007, Takahide Matsutsuka.
|
||||
* All rights reserved.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above
|
||||
* copyright notice, this list of conditions and the following
|
||||
* disclaimer in the documentation and/or other materials provided
|
||||
* with the distribution.
|
||||
* with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote
|
||||
* products derived from this software without specific prior
|
||||
* written permission.
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
|
||||
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
|
@ -25,9 +25,9 @@
|
|||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: rs232.c,v 1.4 2007/09/29 03:58:38 matsutsuka Exp $
|
||||
* $Id: rs232.c,v 1.5 2009/03/17 20:20:45 adamdunkels Exp $
|
||||
*
|
||||
*/
|
||||
/*
|
||||
|
@ -40,7 +40,7 @@
|
|||
|
||||
#include "contiki.h"
|
||||
#include "dev/slip.h"
|
||||
#include "dev/serial.h"
|
||||
#include "dev/serial-line.h"
|
||||
#include "dev/rs232.h"
|
||||
|
||||
PROCESS(rs232_process, "RS-232C polling process");
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
#include "contiki-lib.h"
|
||||
|
||||
#include "dev/rs232.h"
|
||||
#include "dev/serial.h"
|
||||
#include "dev/serial-line.h"
|
||||
#include "dev/slip.h"
|
||||
|
||||
#ifdef RAVEN_LCD_INTERFACE
|
||||
|
@ -59,7 +59,7 @@
|
|||
|
||||
#include "sicslowmac.h"
|
||||
|
||||
FUSES =
|
||||
FUSES =
|
||||
{
|
||||
.low = 0xe2,
|
||||
.high = 0x99,
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
#include "dev/rs232.h"
|
||||
|
||||
#include "dev/serial.h"
|
||||
#include "dev/serial-line.h"
|
||||
#include "dev/slip.h"
|
||||
|
||||
void init_lowlevel(void);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: contiki-esb-default-init-net.c,v 1.11 2008/03/13 15:59:43 nifi Exp $
|
||||
* @(#)$Id: contiki-esb-default-init-net.c,v 1.12 2009/03/17 20:19:11 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
#include "contiki-esb.h"
|
||||
|
@ -47,6 +47,6 @@ init_net(void)
|
|||
rimeaddr.u8[1] = node_id >> 8;
|
||||
rimeaddr_set_node_addr(&rimeaddr);
|
||||
|
||||
rs232_set_input(serial_input_byte);
|
||||
rs232_set_input(serial_line_input_byte);
|
||||
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: contiki-esb.h,v 1.4 2009/02/21 11:23:54 nifi Exp $
|
||||
* @(#)$Id: contiki-esb.h,v 1.5 2009/03/17 20:19:11 adamdunkels Exp $
|
||||
*/
|
||||
#ifndef __CONTIKI_ESB_H__
|
||||
#define __CONTIKI_ESB_H__
|
||||
|
@ -44,7 +44,7 @@
|
|||
|
||||
#include "dev/rs232.h"
|
||||
|
||||
#include "dev/serial.h"
|
||||
#include "dev/serial-line.h"
|
||||
#include "dev/slip.h"
|
||||
#include "dev/tr1001.h"
|
||||
#include "net/tr1001-uip.h"
|
||||
|
|
Loading…
Reference in a new issue