mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
slip encoder: fix compile warning
This commit is contained in:
parent
c2e1fa6005
commit
da0fc6cc57
@ -120,6 +120,9 @@ uint8_t btstack_slip_encoder_get_byte(void){
|
|||||||
case SLIP_ENCODER_SEND_DD:
|
case SLIP_ENCODER_SEND_DD:
|
||||||
encoder_state = SLIP_ENCODER_DEFAULT;
|
encoder_state = SLIP_ENCODER_DEFAULT;
|
||||||
return 0x0dd;
|
return 0x0dd;
|
||||||
|
default:
|
||||||
|
log_error("btstack_slip_encoder_get_byte invalid state %x", encoder_state);
|
||||||
|
return 0x00;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user