summaryrefslogtreecommitdiff
path: root/cts/common
diff options
context:
space:
mode:
Diffstat (limited to 'cts/common')
-rw-r--r--cts/common/cts_common.h8
-rw-r--r--cts/common/dut_common.c2
-rw-r--r--cts/common/th_common.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/cts/common/cts_common.h b/cts/common/cts_common.h
index 4f0036039f..6233740167 100644
--- a/cts/common/cts_common.h
+++ b/cts/common/cts_common.h
@@ -19,10 +19,10 @@
* return a useful result (i.e. success, failure, etc)
*/
enum cts_error_code {
- SUCCESS,
- FAILURE,
- BAD_SYNC,
- UNKNOWN
+ CTS_SUCCESS,
+ CTS_ERROR_FAILURE,
+ CTS_ERROR_BAD_SYNC,
+ CTS_ERROR_UNKNOWN
};
#endif
diff --git a/cts/common/dut_common.c b/cts/common/dut_common.c
index 9b0561eaa9..3c8a64b4da 100644
--- a/cts/common/dut_common.c
+++ b/cts/common/dut_common.c
@@ -28,5 +28,5 @@ enum cts_error_code sync(void)
} while (input_level);
gpio_set_level(GPIO_HANDSHAKE_OUTPUT, 0);
- return UNKNOWN;
+ return CTS_ERROR_UNKNOWN;
}
diff --git a/cts/common/th_common.c b/cts/common/th_common.c
index 8e9bd47fa3..d30d5ffe32 100644
--- a/cts/common/th_common.c
+++ b/cts/common/th_common.c
@@ -32,5 +32,5 @@ enum cts_error_code sync(void)
input_level = gpio_get_level(GPIO_HANDSHAKE_INPUT);
} while (input_level);
- return SUCCESS;
+ return CTS_SUCCESS;
}