/* This code has been taken from can-calc-bit-timing.c */
/* can-calc-bit-timing.c: Calculate CAN bit timing parameters
- *
- * Copyright (C) 2008 Wolfgang Grandegger <wg@grandegger.com>
*
* Derived from:
* can_baud.c - CAN baudrate calculation
* Copyright 2005 Stanislav Marek
* email:pisa@cmp.felk.cvut.cz
*
- * This software is released under the GPL-License.
+ * With permission from Pavel Pisa to distribute the code and
+ * software under other license than GPL.
*/
static int can_update_spt(int phase_seg2_min, int phase_seg2_max, int prop_seg_max, int phase_seg1_max,
int sampl_pt, int tseg, int *tseg1, int *tseg2)
/* This code has been taken from can-calc-bit-timing.c */
/* can-calc-bit-timing.c: Calculate CAN bit timing parameters
- *
- * Copyright (C) 2008 Wolfgang Grandegger <wg@grandegger.com>
*
* Derived from:
* can_baud.c - CAN baudrate calculation
* Copyright 2005 Stanislav Marek
* email:pisa@cmp.felk.cvut.cz
*
- * This software is released under the GPL-License.
+ * With permission from Pavel Pisa to distribute the code and
+ * software under other license than GPL.
*/
static int8_t can_calculate_timing(const struct rpp_can_ctrl_config cfg, struct rpp_can_timing_cfg *timing) {
static const int prop_seg_min = 1;