Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vanhofen@jessie:~/ni/buildsystem/source/ni-libcoolstream[master]$ git diff
- diff --git a/hd1/cs_api.cpp b/hd1/cs_api.cpp
- index 706c1d3..667bbdb 100644
- --- a/hd1/cs_api.cpp
- +++ b/hd1/cs_api.cpp
- @@ -429,6 +429,12 @@ unsigned int cs_get_revision(void)
- return rev;
- }
- +unsigned int cs_get_chip_type(void)
- +{
- + unsigned int chip_type = 0;
- + return chip_type;
- +}
- +
- unsigned long long cs_get_serial(void)
- {
- unsigned long long serial = 0ULL;
- diff --git a/hd1/cs_api.h b/hd1/cs_api.h
- index 3493c98..e316056 100644
- --- a/hd1/cs_api.h
- +++ b/hd1/cs_api.h
- @@ -71,7 +71,7 @@ int cs_get_tsp_config(unsigned int port, tsrouter_tsp_config_t *tsp_config);
- // Serial nr and revision accessors
- unsigned long long cs_get_serial(void);
- unsigned int cs_get_revision(void);
- -
- +unsigned int cs_get_chip_type(void);
- // library version functions
- typedef struct cs_libversion_t
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement