]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/common/arm_atsam/printf.c
Fix undefined reference to `console_printf` for CTRL and ALT keyboards
[qmk_firmware.git] / tmk_core / common / arm_atsam / printf.c
index d49d234de20f89fc3a2f1dda64b828d186c54a58..7f298d1fda5cff852778606a3dc3538e21f5fab6 100644 (file)
@@ -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