Skip to content

Commit 55a04ee

Browse files
fixup! added preferences commands in command handler
1 parent e53fb0d commit 55a04ee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

main/CommandHandler.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -2144,7 +2144,11 @@ int pref_end(const uint8_t command[], uint8_t response[])
21442144

21452145
preferences.end();
21462146

2147-
return 0;
2147+
response[2] = 1; // number of parameters
2148+
response[3] = 1; // length of first parameter
2149+
response[4] = 1;
2150+
2151+
return 6;
21482152
}
21492153

21502154
int pref_clear(const uint8_t command[], uint8_t response[])

0 commit comments

Comments
 (0)