diff options
| author | patrickmt <40182064+patrickmt@users.noreply.github.com> | 2018-10-29 10:04:52 -0400 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-10-29 10:26:30 -0700 |
| commit | cd23984afcee9a8dd2b1b44876b77141d692de45 (patch) | |
| tree | b4be5d39623fd1a9529a97f5132b96c83a9a439e /tmk_core | |
| parent | cd87a8a323f0a522624550117d8a7a0249a72017 (diff) | |
| download | qmk_firmware-cd23984afcee9a8dd2b1b44876b77141d692de45.tar.gz qmk_firmware-cd23984afcee9a8dd2b1b44876b77141d692de45.zip | |
Fix undefined reference to `console_printf` for CTRL and ALT keyboards
Fix undefined reference to `console_printf` for CTRL and ALT keyboards when enabling CONSOLE_ENABLE
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common/arm_atsam/printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/common/arm_atsam/printf.c b/tmk_core/common/arm_atsam/printf.c index d49d234de..7f298d1fd 100644 --- a/tmk_core/common/arm_atsam/printf.c +++ b/tmk_core/common/arm_atsam/printf.c | |||
| @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifdef CONSOLE_PRINT | 18 | #ifdef CONSOLE_ENABLE |
| 19 | 19 | ||
| 20 | #include "samd51j18a.h" | 20 | #include "samd51j18a.h" |
| 21 | #include "arm_atsam_protocol.h" | 21 | #include "arm_atsam_protocol.h" |
| @@ -63,4 +63,4 @@ void console_printf(char *fmt, ...) { | |||
| 63 | } | 63 | } |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | #endif //CONSOLE_PRINT | 66 | #endif //CONSOLE_ENABLE |
