Subversion Repositories Code-Repo

Compare Revisions

Regard whitespace Rev 255 → Rev 261

/PIC Stuff/Cerebot_32MX7_LED_Cube/defines.h
42,15 → 42,11
#define RESET_CFG 0x06 // Config mismatch reset
 
// Board 'modes' (idle/games/etc)
#define BOARD_MODE_IDLE 0x01
#define BOARD_MODE_SNAKE 0x02
#define BOARD_MODE_TRON 0x03
#define BOARD_MODE_ETHERNET 0x04
#define BOARD_MODE_IDLE 0x1
#define BOARD_MODE_SNAKE 0x2
#define BOARD_MODE_TRON 0x3
#define BOARD_MODE_ETHERNET 0x4
 
typedef struct {
uint8_t cube_mode;
} BOARD_STATE;
 
void Delay_MS(uint32_t delay_ms);
void Delay_US(uint32_t delay_us);
uint8_t Get_Reset_Condition(void);