Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion HUSKYLENS/HUSKYLENS.h
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ class HUSKYLENS

#define HUSKYLENS_FIRMWARE_VERSION "0.4.1"
bool checkFirmwareVersion(){
writeFirmwareVersion(HUSKYLENS_FIRMWARE_VERSION);
return writeFirmwareVersion(HUSKYLENS_FIRMWARE_VERSION);
}

bool writeFirmwareVersion(String version)
Expand Down
4 changes: 2 additions & 2 deletions HUSKYLENS/HuskyLensProtocolCore.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ uint8_t* husky_lens_protocol_write_begin(uint8_t command){
send_buffer[ADDRESS_INDEX] = 0x11;
send_buffer[COMMAND_INDEX] = command;
send_index = CONTENT_INDEX;
return &send_buffer;
return send_buffer;
}

void husky_lens_protocol_write_uint8(uint8_t content){
Expand Down Expand Up @@ -181,4 +181,4 @@ int husky_lens_protocol_write_end(){
send_buffer[send_index] = sum;
send_index ++;
return send_index;
}
}