Browse Source

Optimize size of JC65/v32a keyboard

Drashna Jaelre 6 years ago
parent
commit
31afdd81a1
2 changed files with 5 additions and 4 deletions
  1. 4 3
      keyboards/jc65/v32a/config.h
  2. 1 1
      keyboards/jc65/v32a/rules.mk

+ 4 - 3
keyboards/jc65/v32a/config.h

@@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#ifndef CONFIG_H
-#define CONFIG_H
+#pragma once
 
 #include "config_common.h"
 
@@ -43,4 +42,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* key combination for command */
 #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
 
-#endif
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
+

+ 1 - 1
keyboards/jc65/v32a/rules.mk

@@ -26,7 +26,7 @@ F_CPU = 12000000
 
 # Bootloader
 #     This definition is optional, and if your keyboard supports multiple bootloaders of
-#     different sizes, comment this out, and the correct address will be loaded 
+#     different sizes, comment this out, and the correct address will be loaded
 #     automatically (+60). See bootloader.mk for all options.
 BOOTLOADER = bootloadHID