From b7c77ddebcbe55a6a22195c2ad3ef11a11045626 Mon Sep 17 00:00:00 2001 From: David Fenyes Date: Fri, 3 Jan 2020 23:25:55 -0600 Subject: [PATCH] Apply clang-format to source files. --- firmware/asdf/src/asdf.h | 1 - firmware/asdf/src/asdf_actions.c | 3 +-- firmware/asdf/src/asdf_actions.h | 7 +++---- firmware/asdf/src/asdf_ascii.h | 2 -- firmware/asdf/src/asdf_buffer.h | 1 - 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/firmware/asdf/src/asdf.h b/firmware/asdf/src/asdf.h index df4113c..16b785d 100644 --- a/firmware/asdf/src/asdf.h +++ b/firmware/asdf/src/asdf.h @@ -96,4 +96,3 @@ asdf_keycode_t asdf_get_code(void); //-------|---------|---------+---------+---------+---------+---------+---------+ // Above line is 80 columns, and should display completely in the editor. - diff --git a/firmware/asdf/src/asdf_actions.c b/firmware/asdf/src/asdf_actions.c index d8d2dd3..d91f89e 100644 --- a/firmware/asdf/src/asdf_actions.c +++ b/firmware/asdf/src/asdf_actions.c @@ -1,4 +1,4 @@ -// -*- mode: C; tab-width: 2 ; indent-tabs-mode: nil -*- +// -*- mode: C; tab-width: 2 ; indent-tabs-mode: nil -*- // // Unified Keyboard Project // ASDF keyboard firmware @@ -71,4 +71,3 @@ void asdf_send_reset(void) //-------|---------|---------+---------+---------+---------+---------+---------+ // Above line is 80 columns, and should display completely in the editor. - diff --git a/firmware/asdf/src/asdf_actions.h b/firmware/asdf/src/asdf_actions.h index 42cff04..f6fed7c 100644 --- a/firmware/asdf/src/asdf_actions.h +++ b/firmware/asdf/src/asdf_actions.h @@ -1,4 +1,4 @@ -// -*- mode: C; tab-width: 4 ; indent-tabs-mode: nil -*- +// -*- mode: C; tab-width: 4 ; indent-tabs-mode: nil -*- // // Unified Keyboard Project // ASDF keyboard firmware @@ -19,8 +19,8 @@ // You should have received a copy of the GNU General Public License along with // this program. If not, see . // - -#if !defined (ASDF_ACTIONS_H) + +#if !defined(ASDF_ACTIONS_H) #define ASDF_ACTIONS_H // PROCEDURE: asdf_screen_clear @@ -43,4 +43,3 @@ void asdf_send_reset(void); //-------|---------|---------+---------+---------+---------+---------+---------+ // Above line is 80 columns, and should display completely in the editor. - diff --git a/firmware/asdf/src/asdf_ascii.h b/firmware/asdf/src/asdf_ascii.h index fd804b3..06ed7f6 100644 --- a/firmware/asdf/src/asdf_ascii.h +++ b/firmware/asdf/src/asdf_ascii.h @@ -56,7 +56,6 @@ typedef enum { ASCII_CTRL_Y = 0x19, ASCII_CTRL_Z = 0x1a, ASCII_ESC = 0x1b, - ASCII_SPACE = 0x20, ASCII_COMMA = 0x2C, ASCII_ZERO = 0x30, @@ -85,4 +84,3 @@ typedef enum { //-------|---------|---------+---------+---------+---------+---------+---------+ // Above line is 80 columns, and should display completely in the editor. - diff --git a/firmware/asdf/src/asdf_buffer.h b/firmware/asdf/src/asdf_buffer.h index b07fb75..dfcff7b 100644 --- a/firmware/asdf/src/asdf_buffer.h +++ b/firmware/asdf/src/asdf_buffer.h @@ -73,4 +73,3 @@ asdf_keycode_t asdf_buffer_get(asdf_buffer_handle_t handle); //-------|---------|---------+---------+---------+---------+---------+---------+ // Above line is 80 columns, and should display completely in the editor. -