]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blob - rpp/src/rpp/lin.c
Fixed includes in rpp and sys libs.
[pes-rpp/rpp-lib.git] / rpp / src / rpp / lin.c
1 /* Copyright (C) 2013 Czech Technical University in Prague
2  *
3  * Authors:
4  *     - Carlos Jenkins <carlos@jenkins.co.cr>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  *
19  * File : lin.c
20  * Abstract:
21  *     LIN Communication RPP API implementation file.
22  *
23  * References:
24  *     lin.h
25  *     RPP API documentation.
26  */
27
28
29 #include "rpp/rpp.h"
30
31 #if rppCONFIG_INCLUDE_LIN == 1
32
33 static boolean_t initialized = FALSE;
34
35 int8_t rpp_lin_init()
36 {
37     if(initialized) {
38         return FAILURE;
39     }
40     initialized = TRUE;
41
42     // FIXME: Implement.
43    return SUCCESS;
44 }
45
46
47 #endif /* rppCONFIG_INCLUDE_LIN */
48