mirror of https://github.com/ARMmbed/mbed-os.git
Merge branch 'gigabus_can' of https://github.com/janjongboom/mbed-os into rollup
commit
2218efc20c
|
|
@ -305,7 +305,7 @@ void can_free(can_t *obj)
|
||||||
*/
|
*/
|
||||||
int can_frequency(can_t *obj, int hz)
|
int can_frequency(can_t *obj, int hz)
|
||||||
{
|
{
|
||||||
int reval;
|
int reval = 0;
|
||||||
|
|
||||||
/* The maximum baud rate support to 1M */
|
/* The maximum baud rate support to 1M */
|
||||||
if (hz <= 1000000) {
|
if (hz <= 1000000) {
|
||||||
|
|
|
||||||
|
|
@ -305,7 +305,7 @@ void can_free(can_t *obj)
|
||||||
*/
|
*/
|
||||||
int can_frequency(can_t *obj, int hz)
|
int can_frequency(can_t *obj, int hz)
|
||||||
{
|
{
|
||||||
int reval;
|
int reval = 0;
|
||||||
|
|
||||||
/* The maximum baud rate support to 1M */
|
/* The maximum baud rate support to 1M */
|
||||||
if (hz <= 1000000) {
|
if (hz <= 1000000) {
|
||||||
|
|
|
||||||
|
|
@ -306,7 +306,7 @@ void can_free(can_t *obj)
|
||||||
*/
|
*/
|
||||||
int can_frequency(can_t *obj, int hz)
|
int can_frequency(can_t *obj, int hz)
|
||||||
{
|
{
|
||||||
int reval;
|
int reval = 0;
|
||||||
|
|
||||||
/* The maximum baud rate support to 1M */
|
/* The maximum baud rate support to 1M */
|
||||||
if (hz <= 1000000) {
|
if (hz <= 1000000) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue