Removed the unused SPI driver configuration in mcuconf.h file as requested by QMK member in pull request

This commit is contained in:
atechofficials 2024-06-25 05:18:19 +05:30
parent 03d66d929d
commit 58c2102013
2 changed files with 17 additions and 26 deletions

View File

@ -14,9 +14,7 @@
"pins": ["GP14"]
},
"encoder": {
"rotary": [
{"pin_a": "GP12", "pin_b": "GP13", "resolution": 2}
]
"rotary": [{ "pin_a": "GP12", "pin_b": "GP13", "resolution": 2 }]
},
"features": {
"bootmagic": true,
@ -71,22 +69,22 @@
"layouts": {
"LAYOUT_ortho_4x4": {
"layout": [
{"label": "7", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "8", "matrix": [0, 1], "x": 1, "y": 0},
{"label": "9", "matrix": [0, 2], "x": 2, "y": 0},
{"label": "/", "matrix": [0, 3], "x": 3, "y": 0},
{"label": "4", "matrix": [1, 0], "x": 0, "y": 1},
{"label": "5", "matrix": [1, 1], "x": 1, "y": 1},
{"label": "6", "matrix": [1, 2], "x": 2, "y": 1},
{"label": "*", "matrix": [1, 3], "x": 3, "y": 1},
{"label": "1", "matrix": [2, 0], "x": 0, "y": 2},
{"label": "2", "matrix": [2, 1], "x": 1, "y": 2},
{"label": "3", "matrix": [2, 2], "x": 2, "y": 2},
{"label": "-", "matrix": [2, 3], "x": 3, "y": 2},
{"label": "0", "matrix": [3, 0], "x": 0, "y": 3},
{"label": ".", "matrix": [3, 1], "x": 1, "y": 3},
{"label": "ENTER", "matrix": [3, 2], "x": 2, "y": 3},
{"label": "+", "matrix": [3, 3], "x": 3, "y": 3}
{ "label": "7", "matrix": [0, 0], "x": 0, "y": 0 },
{ "label": "8", "matrix": [0, 1], "x": 1, "y": 0 },
{ "label": "9", "matrix": [0, 2], "x": 2, "y": 0 },
{ "label": "/", "matrix": [0, 3], "x": 3, "y": 0 },
{ "label": "4", "matrix": [1, 0], "x": 0, "y": 1 },
{ "label": "5", "matrix": [1, 1], "x": 1, "y": 1 },
{ "label": "6", "matrix": [1, 2], "x": 2, "y": 1 },
{ "label": "*", "matrix": [1, 3], "x": 3, "y": 1 },
{ "label": "1", "matrix": [2, 0], "x": 0, "y": 2 },
{ "label": "2", "matrix": [2, 1], "x": 1, "y": 2 },
{ "label": "3", "matrix": [2, 2], "x": 2, "y": 2 },
{ "label": "-", "matrix": [2, 3], "x": 3, "y": 2 },
{ "label": "0", "matrix": [3, 0], "x": 0, "y": 3 },
{ "label": ".", "matrix": [3, 1], "x": 1, "y": 3 },
{ "label": "ENTER", "matrix": [3, 2], "x": 2, "y": 3 },
{ "label": "+", "matrix": [3, 3], "x": 3, "y": 3 }
]
}
}

View File

@ -24,10 +24,3 @@
#undef RP_I2C_USE_I2C1
#define RP_I2C_USE_I2C1 FALSE
/* RP2040 SPI Driver Selection */
#undef RP_SPI_USE_SPI0
#define RP_SPI_USE_SPI0 TRUE
#undef RP_SPI_USE_SPI1
#define RP_SPI_USE_SPI1 FALSE