CHG remove unnecessary breaks
This commit is contained in:
parent
d2ef7ea91a
commit
c9127b95ad
@ -141,13 +141,13 @@ static int si5351_error_status_i2c(HAL_StatusTypeDef status) {
|
|||||||
switch (status) {
|
switch (status) {
|
||||||
case HAL_TIMEOUT:
|
case HAL_TIMEOUT:
|
||||||
return -ETIMEDOUT;
|
return -ETIMEDOUT;
|
||||||
break;
|
//break;
|
||||||
case HAL_ERROR:
|
case HAL_ERROR:
|
||||||
return -EIO;
|
return -EIO;
|
||||||
break;
|
//break;
|
||||||
case HAL_BUSY:
|
case HAL_BUSY:
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
break;
|
//break;
|
||||||
case HAL_OK:
|
case HAL_OK:
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user