瀏覽代碼

Add Soft Serial Speed to Diverge3 keyboard config for compatibility (#5076)

Drashna Jaelre 5 年之前
父節點
當前提交
064d9da93e
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 0 1
      keyboards/diverge3/.gitignore
  2. 5 4
      keyboards/diverge3/config.h

+ 0 - 1
keyboards/diverge3/.gitignore

@@ -1 +0,0 @@
-.vscode

+ 5 - 4
keyboards/diverge3/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"
 
@@ -59,6 +58,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* serial.c configuration for split keyboard */
 #define SOFT_SERIAL_PIN D0
 
+#ifndef SELECT_SOFT_SERIAL_SPEED
+#define SELECT_SOFT_SERIAL_SPEED 3
+#endif
+
 /* define if matrix has ghost (lacks anti-ghosting diodes) */
 //#define MATRIX_HAS_GHOST
 
@@ -181,5 +184,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
 //#define MIDI_TONE_KEYCODE_OCTAVES 1
-
-#endif