Skip to content

Commit 6ac93c7

Browse files
committed
FlashFormatterClass: fix function naming
1 parent 628fba2 commit 6ac93c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/flashFormatter/flashFormatter.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void setup() {
3333
Serial.println("Do you want to proceed? Y/[n]");
3434

3535
if (true == waitResponse()) {
36-
if(!flashFormatter.checkandFormatPartition()){
36+
if(!flashFormatter.checkAndFormatPartition()){
3737
Serial.println("Failed to format partition");
3838
} else {
3939
Serial.println("Partition formatted successfully");

src/flashFormatter/FlashFormatterBase.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class FlashFormatterClass {
1212
public:
1313
virtual ~FlashFormatterClass() = default;
14-
virtual bool checkandFormatPartition() {
14+
virtual bool checkAndFormatPartition() {
1515
if(checkPartition()){
1616
return true;
1717
}

0 commit comments

Comments
 (0)