Skip to content

Commit

Permalink
fix build error by clean up include in unicorne.c
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghu committed May 24, 2021
1 parent 568706f commit 141eef5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion keyboards/yanghu/unicorne/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"width": 15,
"height": 4.7,
"layouts": {
"LAYOUT": {
"LAYOUT_unicorne": {
"layout": [
{"label":"Tab", "x":0, "y":0.8},
{"label":"Q", "x":1, "y":0.8},
Expand Down
1 change: 0 additions & 1 deletion keyboards/yanghu/unicorne/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "quantum_keycodes.h"
#include QMK_KEYBOARD_H
#include "layers.h"
#include "oled.h"
Expand Down
1 change: 0 additions & 1 deletion keyboards/yanghu/unicorne/unicorne.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ void i2c_init(void) {
// Use internal pull up since we do not have pull up on i2c pins in v1 design.
palSetPadMode(I2C1_SCL_BANK, I2C1_SCL, PAL_MODE_ALTERNATE(I2C1_SCL_PAL_MODE) | PAL_STM32_OTYPE_OPENDRAIN | PAL_STM32_PUPDR_PULLUP);
palSetPadMode(I2C1_SDA_BANK, I2C1_SDA, PAL_MODE_ALTERNATE(I2C1_SDA_PAL_MODE) | PAL_STM32_OTYPE_OPENDRAIN | PAL_STM32_PUPDR_PULLUP);
#endif
}
}

Expand Down

0 comments on commit 141eef5

Please sign in to comment.