Skip to content

Commit

Permalink
samples: mesh: nrf52: removed bug introduced by PR:9521
Browse files Browse the repository at this point in the history
Removed bug which get introduced by PR:9521. Because of it
not able to save App's variable on SoC flash.

Signed-off-by: Vikrant More <vikrant8051@gmail.com>
  • Loading branch information
vikrant8052 authored and jhedberg committed Dec 12, 2018
1 parent c41a837 commit d2f89e1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -89,7 +89,7 @@ static int ps_set(int argc, char **argv, void *val_ctx)
{
int len = 0;

if (argc != 1) {
if (argc == 1) {
if (!strcmp(argv[0], "rc")) {
len = settings_val_read_cb(val_ctx, &reset_counter,
sizeof(reset_counter));
Expand Down

0 comments on commit d2f89e1

Please sign in to comment.