Skip to content

Commit

Permalink
Expand but size.
Browse files Browse the repository at this point in the history
  • Loading branch information
zxystd committed Aug 28, 2021
1 parent 66b3838 commit a335f6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions IntelBluetoothFirmware/BtIntelVSC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ readVersion(IntelVersion *version)
bool BtIntel::
sendIntelReset(uint32_t bootParam)
{
uint8_t buf[11];
uint8_t buf[CMD_BUF_MAX_SIZE];
IntelReset params = {
0x00, 0x01, 0x00, 0x01, 0x00000000
};
Expand Down Expand Up @@ -181,7 +181,7 @@ resetToBootloader()
{
XYLog("%s\n", __FUNCTION__);
bool ret;
uint8_t buf[11];
uint8_t buf[CMD_BUF_MAX_SIZE];
HciCommandHdr *cmd = (HciCommandHdr *)buf;
IntelReset params;

Expand Down Expand Up @@ -225,7 +225,7 @@ resetToBootloader()
bool BtIntel::
readDebugFeatures(IntelDebugFeatures *features)
{
uint8_t buf[CMD_BUF_MAX_SIZE], temp[40];
uint8_t buf[CMD_BUF_MAX_SIZE], temp[CMD_BUF_MAX_SIZE];
uint actLen = 0;
HciCommandHdr *cmd = (HciCommandHdr *)buf;
HciResponse *resp = (HciResponse *)temp;
Expand Down

0 comments on commit a335f6b

Please sign in to comment.