Fix warnings

This commit is contained in:
Kristian Sloth Lauszus
2018-05-02 00:35:28 +02:00
parent 611c36fe00
commit d9d26814e8
4 changed files with 3 additions and 6 deletions

View File

@@ -593,9 +593,6 @@ static status_t handle_command_internal(uint8_t *packet, uint32_t packetLength)
else
{
#if FIXED_BUSPAL_BOOTLOADER
size_t offset;
int res;
status = kStatus_Success; /* set default */
res = WaitForStartByte(rxBuf, &offset);
if (res==1 && offset==1)