summaryrefslogtreecommitdiff
path: root/tmk_core/common
diff options
context:
space:
mode:
authorpatrickmt <40182064+patrickmt@users.noreply.github.com>2018-10-29 10:04:52 -0400
committerDrashna Jaelre <drashna@live.com>2018-10-29 10:26:30 -0700
commitcd23984afcee9a8dd2b1b44876b77141d692de45 (patch)
treeb4be5d39623fd1a9529a97f5132b96c83a9a439e /tmk_core/common
parentcd87a8a323f0a522624550117d8a7a0249a72017 (diff)
downloadqmk_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/common')
-rw-r--r--tmk_core/common/arm_atsam/printf.c4
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 d49d234de2..7f298d1fda 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
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef CONSOLE_PRINT
+#ifdef CONSOLE_ENABLE
#include "samd51j18a.h"
#include "arm_atsam_protocol.h"
@@ -63,4 +63,4 @@ void console_printf(char *fmt, ...) {
}
}
-#endif //CONSOLE_PRINT
+#endif //CONSOLE_ENABLE