summaryrefslogtreecommitdiff
path: root/firmware/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/protocol.h')
-rw-r--r--firmware/protocol.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/firmware/protocol.h b/firmware/protocol.h
index af2c6fb..6ae1c2a 100644
--- a/firmware/protocol.h
+++ b/firmware/protocol.h
@@ -42,12 +42,10 @@
#define CMD_IO_PORT_GET 0x19
#define CMD_IO_PIN_SET 0x1A
#define CMD_IO_PIN_GET 0x1B
-#define CMD_IO_SET_STATUS_LED 0x1C
#define CMD_ADC_INIT_PIN 0x20
-#define CMD_ADC_DEINIT_PIN 0x21
-#define CMD_ADC_GET 0x22
-#define CMD_ADC_REF 0x23
+#define CMD_ADC_GET 0x21
+#define CMD_ADC_REF 0x22
#define CMD_I2C_INIT 0x30
#define CMD_I2C_DEINIT 0x31
@@ -80,17 +78,6 @@
#define CMD_UART_RECV 0x67
#define CMD_UART_SEND 0x68
-#define CMD_CAN_INIT 0x70
-#define CMD_CAN_DEINIT 0x71
-#define CMD_CAN_SEND_DATA 0x72
-#define CMD_CAN_ENABLE_MOB 0x73
-#define CMD_CAN_DISABLE_MOB 0x74
-#define CMD_CAN_SEND_REMOTE 0x75
-#define CMD_CAN_RECEIVE_DATA 0x76
-#define CMD_CAN_SET_AUTOREPLY 0x77
-
-#define CMD_EEPROM_READ_BYTES 0x80
-#define CMD_EEPROM_WRITE_BYTES 0x81
#define PARAM_ADC_AREF 0x01
#define PARAM_ADC_AVCC 0x02