Prusa-Firmware/Firmware/boards.h
2017-03-24 20:16:03 +01:00

18 lines
516 B
C

#ifndef BOARDS_H
#define BOARDS_H
#define BOARD_UNKNOWN -1
#define BOARD_EINY_0_1a 300 // EINY 0.1a
#define BOARD_RAMBO 301 // Rambo
#define BOARD_RAMBO_MINI_1_3 302 // Rambo-mini 1.3
#define BOARD_RAMBO_MINI_1_0 102 // Rambo-mini 1.0
#define BOARD_99 99 // This is in pins.h but...?
#define MB(board) (MOTHERBOARD==BOARD_##board)
#define IS_RAMPS (MB(RAMPS_OLD) || MB(RAMPS_13_EFB) || MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF))
#endif //__BOARDS_H