File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
samples/subsys/settings/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ int beta_handle_export(int (*cb)(const char *name,
48
48
int beta_handle_get (const char * name , char * val , int val_len_max );
49
49
50
50
/* dynamic main tree handler */
51
- struct settings_handler alph_handler = {
51
+ struct settings_handler alpha_handler = {
52
52
.name = "alpha" ,
53
53
.h_get = NULL ,
54
54
.h_set = alpha_handle_set ,
@@ -455,13 +455,13 @@ static void example_initialization(void)
455
455
456
456
printk ("settings subsys initialization: OK.\n" );
457
457
458
- rc = settings_register (& alph_handler );
458
+ rc = settings_register (& alpha_handler );
459
459
if (rc ) {
460
460
printk ("subtree <%s> handler registered: fail (err %d)\n" ,
461
- alph_handler .name , rc );
461
+ alpha_handler .name , rc );
462
462
}
463
463
464
- printk ("subtree <%s> handler registered: OK\n" , alph_handler .name );
464
+ printk ("subtree <%s> handler registered: OK\n" , alpha_handler .name );
465
465
printk ("subtree <alpha/beta> has static handler\n" );
466
466
}
467
467
You can’t perform that action at this time.
0 commit comments