]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - rpp/src/rpp/rpp.c
Change license to MIT
[pes-rpp/rpp-lib.git] / rpp / src / rpp / rpp.c
index 2967907cf8dcc73c8c6048c972430d9539ee5808..4937d64f5a7c7bd8b2fcd0c51d93d5fb815d5519 100644 (file)
@@ -3,10 +3,26 @@
  * Authors:
  *     - Carlos Jenkins <carlos@jenkins.co.cr>
  *
- * This document contains proprietary information belonging to Czech
- * Technical University in Prague. Passing on and copying of this
- * document, and communication of its contents is not permitted
- * without prior written authorization.
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
  *
  * File : rpp.c
  * Abstract:
@@ -40,6 +56,7 @@ int8_t rpp_init()
        hetInit();
        rpp_adc_init();
        rpp_sci_init();
+       rpp_eth_init();
 #if defined(TARGET_TMS570_RPP)
        linInit();
        rpp_din_init();
@@ -51,7 +68,6 @@ int8_t rpp_init()
        rpp_lin_init();
        rpp_sdr_init();
        rpp_irc_init();
-       rpp_eth_init();
 #endif
        rpp_gio_init(RPP_GIO_PORT_ALL);
 #ifdef TARGET_HAS_SPI