Remove duplicate const

This commit is contained in:
Johannes Marbach 2021-09-12 20:48:53 +02:00
parent 025caee162
commit fc54baa34e
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ typedef struct {
/* Indexes of layers to jump to when triggering layer switch buttons */
const int * const switcher_dests;
/* Total number of scancodes */
const int const num_scancodes;
const int num_scancodes;
/* Flat array of scancodes */
const int * const scancodes;
/* Start index in scancodes array for key cap */

View file

@ -693,7 +693,7 @@ if __name__ == '__main__':
h_builder.add_line(' const int * const switcher_dests;')
if args.generate_scancodes:
h_builder.add_line(' /* Total number of scancodes */')
h_builder.add_line(' const int const num_scancodes;')
h_builder.add_line(' const int num_scancodes;')
h_builder.add_line(' /* Flat array of scancodes */')
h_builder.add_line(' const int * const scancodes;')
h_builder.add_line(' /* Start index in scancodes array for key cap */')