Skip to content

Commit 473d8b0

Browse files
authored
Fix warning in spi_drv.cpp
resolve issue #136
1 parent 53e1e5e commit 473d8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utility/spi_drv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ int SpiDrv::waitResponse(uint8_t cmd, uint8_t* numParamRead, uint8_t** params, u
451451

452452
void SpiDrv::sendParamNoLen(uint8_t* param, size_t param_len, uint8_t lastParam)
453453
{
454-
int i = 0;
454+
size_t i = 0;
455455
// Send Spi paramLen
456456
sendParamLen8(0);
457457

0 commit comments

Comments
 (0)