1212
1313uint8_t pf_name_cache [MAX_PROFILES ][PF_CACHE_FILENAME_MAXLEN ];
1414
15- static const uint8_t col_lookup [7 ][3 ] = {
15+ static const uint8_t col_lookup [7 ][3 ] = {
1616 {18 , 60 , 103 },
1717 {15 , 57 , 100 },
1818 {12 , 54 , 97 },
@@ -54,7 +54,7 @@ void delay_wrapper(int32_t amount, int32_t fuzz)
5454
5555char * goto_next_arg (char * buf , char * buf_end )
5656{
57- char * curr = buf ;
57+ char * curr = buf ;
5858 if (buf == NULL || curr >= buf_end )
5959 return NULL ;
6060 while (curr < buf_end && * curr != ' ' )
@@ -69,7 +69,7 @@ char* goto_next_arg(char* buf, char* buf_end)
6969char * find_profile (uint8_t pid )
7070{
7171 char * profile_fn ;
72- fno .lfname = lfn_buf ;
72+ fno .lfname = lfn_buf ;
7373 fno .lfsize = FILENAME_SIZE - 1 ;
7474
7575 if (f_opendir (& dir , "/" ) != FR_OK )
@@ -242,7 +242,7 @@ uint8_t how_many_digits(uint8_t number)
242242void scan_profiles (void )
243243{
244244 char * profile_fn ;
245- fno .lfname = lfn_buf ;
245+ fno .lfname = lfn_buf ;
246246 fno .lfsize = FILENAME_SIZE - 1 ;
247247 memset (p_cache .available_profile , 0 , MAX_PROFILES );
248248
@@ -332,7 +332,7 @@ uint8_t get_keynames(profile_cache* pcache)
332332
333333 if (f_open (& sd_file , temp_buf , FA_READ ) != 0 )
334334 goto gkn_end ;
335-
335+
336336 while (f_gets (temp_buf , PATH_SIZE , & sd_file ))
337337 {
338338 if (temp_buf [0 ] == 'z' )
@@ -420,7 +420,7 @@ void print_legend(void)
420420 sprintf (temp_buf , "profile%d_" , p_cache .current_profile );
421421 char * pf_name = p_cache .profile_fn + strlen (temp_buf );
422422 memset (temp_buf , 0 , PATH_SIZE );
423- sprintf (temp_buf , "P%d: %s" , p_cache .current_profile , pf_name );
423+ sprintf (temp_buf , "=== P%d: %s === " , p_cache .current_profile , pf_name );
424424 if (strlen (temp_buf ) > 21 )
425425 temp_buf [21 ] = 0 ;
426426 int8_t x_start = (21 - strlen (temp_buf )) * 3 ;
0 commit comments