Commit 7f54b0a3 authored by Graziano Scalamera's avatar Graziano Scalamera
Browse files

Add laser pointer acdc commands

parent b0d70920
......@@ -347,8 +347,10 @@
#define CMD_NOTABI_TMP500_PFE_F01_01 145 //CMD_NOTABI_TMP500_PFE_F02_01
#define CMD_ABI_TMP500_PFE_F01_02 146 //CMD_ABI_TMP500_PFE_F02_02
#define CMD_NOTABI_TMP500_PFE_F01_02 147 //CMD_NOTABI_TMP500_PFE_F02_02
#define CMD_LASER_POINTER_ACDC_ON 148
#define CMD_LASER_POINTER_ACDC_OFF 149
#define MAX_COMMAND CMD_NOTABI_TMP500_PFE_F01_02
#define MAX_COMMAND CMD_LASER_POINTER_ACDC_OFF
static int blkcodes[] = { //byte offset from actDB
......@@ -499,7 +501,9 @@ static int blkcodes[] = { //byte offset from actDB
7, // 144 //con 303 CMD_ABI_TMP500_PFE_F01_01 /con 404 CMD_ABI_TMP500_PFE_F02_01 //9.2
7, // 145 //con 303 CMD_NOTABI_TMP500_PFE_F01_01 /con 404 CMD_NOTABI_TMP500_PFE_F02_01 //9.3
7, // 146 //con 303 CMD_ABI_TMP500_PFE_F01_02 /con 404 CMD_ABI_TMP500_PFE_F02_02 //9.4
7 // 147 //con 303 CMD_NOTABI_TMP500_PFE_F01_02 /con 404 CMD_NOTABI_TMP500_PFE_F02_02 //9.5
7, // 147 //con 303 CMD_NOTABI_TMP500_PFE_F01_02 /con 404 CMD_NOTABI_TMP500_PFE_F02_02 //9.5
8, // 148 //con 303 CMD_LASER_POINTER_ACDC_ON
8 // 149 //con 303 CMD_LASER_POINTER_ACDC_OFF
};
static u_int maskcodes[] = {
......@@ -650,7 +654,9 @@ static u_int maskcodes[] = {
0x04, // 144 //con 303 CMD_ABI_TMP500_PFE_F01_01 /con 404 CMD_ABI_TMP500_PFE_F02_01 //9.2
0x08, // 145 //con 303 CMD_NOTABI_TMP500_PFE_F01_01 /con 404 CMD_NOTABI_TMP500_PFE_F02_01 //9.3
0x10, // 146 //con 303 CMD_ABI_TMP500_PFE_F01_02 /con 404 CMD_ABI_TMP500_PFE_F02_02 //9.4
0x20 // 147 //con 303 CMD_NOTABI_TMP500_PFE_F01_02 /con 404 CMD_NOTABI_TMP500_PFE_F02_02 //9.5
0x20, // 147 //con 303 CMD_NOTABI_TMP500_PFE_F01_02 /con 404 CMD_NOTABI_TMP500_PFE_F02_02 //9.5
0x01, // 148 //con 303 CMD_LASER_POINTER_ACDC_ON
0x02 // 149 //con 303 CMD_LASER_POINTER_ACDC_OFF
};
static const char *cmd_names[][FELCMDCODES] = {
......@@ -801,7 +807,9 @@ static const char *cmd_names[][FELCMDCODES] = {
{"CMD_ABI_TMP500_PFE_F01_01","CMD_ABI_TMP500_PFE_F02_01","","",""}, //144
{"CMD_NOTABI_TMP500_PFE_F01_01","CMD_NOTABI_TMP500_PFE_F02_01","","",""}, //145
{"CMD_ABI_TMP500_PFE_F01_02","CMD_ABI_TMP500_PFE_F02_02","","",""}, //146
{"CMD_NOTABI_TMP500_PFE_F01_02","CMD_NOTABI_TMP500_PFE_F02_02","","",""} //147
{"CMD_NOTABI_TMP500_PFE_F01_02","CMD_NOTABI_TMP500_PFE_F02_02","","",""}, //147
{"CMD_LASER_POINTER_ACDC_ON","","","",""}, //148
{"CMD_LASER_POINTER_ACDC_OFF","","","",""} //149
};
static const char *cmd_comments[][FELCMDCODES] = {
......@@ -952,7 +960,9 @@ static const char *cmd_comments[][FELCMDCODES] = {
{"CMD ABI TMP500_PFE_F01_01 (ON)","CMD ABI TMP500_PFE_F02_01 (ON)","","",""}, //144
{"CMD NOTABI TMP500_PFE_F01_01 (OFF)","CMD NOTABI TMP500_PFE_F02_01 (OFF)","","",""}, //145
{"CMD ABI TMP500_PFE_F01_02 (ON)","CMD ABI TMP500_PFE_F02_02 (ON)","","",""}, //146
{"CMD NOTABI TMP500_PFE_F01_02 (OFF)","CMD NOTABI TMP500_PFE_F02_02 (OFF)","","",""} //147
{"CMD NOTABI TMP500_PFE_F01_02 (OFF)","CMD NOTABI TMP500_PFE_F02_02 (OFF)","","",""}, //147
{"CMD LASER_POINTER_ACDC_ON","","","",""}, //148
{"CMD LASER_POINTER_ACDC_OFF","","","",""} //149
};
static int felcodes[] = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment