Add compile conditional for assembler(xprintf)

master
tmk 2013-07-15 23:32:14 +09:00
parent f4c69652c1
commit 86623f5724
1 changed files with 2 additions and 0 deletions

View File

@ -58,10 +58,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define ADB_PSW_BIT 1 // optional //#define ADB_PSW_BIT 1 // optional
/* key combination for command */ /* key combination for command */
#ifndef __ASSEMBLER__
#include "adb.h" #include "adb.h"
#include "matrix.h" #include "matrix.h"
#define IS_COMMAND() ( \ #define IS_COMMAND() ( \
matrix_is_on(MATRIX_ROW(ADB_POWER), MATRIX_COL(ADB_POWER)) \ matrix_is_on(MATRIX_ROW(ADB_POWER), MATRIX_COL(ADB_POWER)) \
) )
#endif
#endif #endif