Skip to content

Commit

Permalink
Fix undefined reference to console_printf for CTRL and ALT keyboards
Browse files Browse the repository at this point in the history
Fix undefined reference to `console_printf` for CTRL and ALT keyboards when enabling CONSOLE_ENABLE
  • Loading branch information
patrickmt authored and drashna committed Oct 29, 2018
1 parent cd87a8a commit cd23984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmk_core/common/arm_atsam/printf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -63,4 +63,4 @@ void console_printf(char *fmt, ...) {
}
}

#endif //CONSOLE_PRINT
#endif //CONSOLE_ENABLE

0 comments on commit cd23984

Please sign in to comment.