Skip to content

Commit 4660b56

Browse files
committed
move usb specifics out of chibios configs
1 parent d6c6057 commit 4660b56

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

platforms/chibios/boards/SN_SN32F260/configs/chconf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
}
5555
#define PORT_IDLE_THREAD_STACK_SIZE 0
5656
#define PORT_INT_REQUIRED_STACK 0
57-
#define RAW_IN_CAPACITY 1
58-
#define RAW_OUT_CAPACITY 1
5957

6058
/* can't call sleep without the idle thread, must override related functions */
6159
#if CH_CFG_NO_IDLE_THREAD == TRUE
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* Copyright 2022 QMK
2+
*
3+
* This program is free software: you can redistribute it and/or modify
4+
* it under the terms of the GNU General Public License as published by
5+
* the Free Software Foundation, either version 2 of the License, or
6+
* (at your option) any later version.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* You should have received a copy of the GNU General Public License
14+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
*/
16+
17+
#pragma once
18+
19+
#define RAW_IN_CAPACITY 1
20+
#define RAW_OUT_CAPACITY 1
21+
22+
#include_next <config.h>

0 commit comments

Comments
 (0)