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:
parent
cd87a8a323
commit
cd23984afc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue