Skip to content

Commit b47e5d6

Browse files
maidnlCopilot
andauthored
add return to end function
Co-authored-by: Copilot <[email protected]>
1 parent 6a64ffd commit b47e5d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/SoftwareSerial/src/SoftwareSerial.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ int SoftwareSerial::end() {
358358
R_ELC_Disable(&elc_ctrl);
359359
R_ELC_Close(&elc_ctrl);
360360
}
361+
return 1;
361362
}
362363

363364
int SoftwareSerial::read()

0 commit comments

Comments
 (0)