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
This commit is contained in:
patrickmt 2018-10-29 10:04:52 -04:00 committed by Drashna Jaelre
parent cd87a8a323
commit cd23984afc

View 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