File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
targets/TARGET_GigaDevice Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ void can_free(can_t *obj)
305
305
*/
306
306
int can_frequency (can_t * obj , int hz )
307
307
{
308
- int reval ;
308
+ int reval = 0 ;
309
309
310
310
/* The maximum baud rate support to 1M */
311
311
if (hz <= 1000000 ) {
Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ void can_free(can_t *obj)
305
305
*/
306
306
int can_frequency (can_t * obj , int hz )
307
307
{
308
- int reval ;
308
+ int reval = 0 ;
309
309
310
310
/* The maximum baud rate support to 1M */
311
311
if (hz <= 1000000 ) {
Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ void can_free(can_t *obj)
306
306
*/
307
307
int can_frequency (can_t * obj , int hz )
308
308
{
309
- int reval ;
309
+ int reval = 0 ;
310
310
311
311
/* The maximum baud rate support to 1M */
312
312
if (hz <= 1000000 ) {
You can’t perform that action at this time.
0 commit comments