From: Stephan Baerwolf Date: Sun, 30 Sep 2012 10:15:45 +0000 (+0200) Subject: deactivate include of for toolchain compatibility X-Git-Tag: v0.8~14 X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/commitdiff_plain/f5fbce2b73b49773ef39eb12af398fec758a0a30?hp=b0afc770115d71221a65ea82d2651e35be21877b deactivate include of for toolchain compatibility Since cpufunc.h is not needed in the context of primary firmware and since it is not available in all toolchains, the include of becomes deactivated by github issue-report. (In case of trouble it remains in sourcecode for reactivation.) The autor would like to thank Lena-M for reporting this issue (https://github.com/baerwolf/USBaspLoader/issues/1). Reported-by: Lena-M Signed-off-by: Stephan Baerwolf --- diff --git a/firmware/main.c b/firmware/main.c index fd5dd48..de891ce 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -18,7 +18,21 @@ #include #include + +#if 0 +/* + * 29.09.2012 / 30.09.2012 + * + * Since cpufunc.h is not needed in this context and + * since it is not available in all toolchains, this include + * becomes deactivated by github issue-report. + * (In case of trouble it remains in sourcecode for reactivation.) + * + * The autor would like to thank Lena-M for reporting this + * issue (https://github.com/baerwolf/USBaspLoader/issues/1). + */ #include +#endif #include