Advertisement
svenhoefer

Untitled

Mar 10th, 2017
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.90 KB | None | 0 0
  1. vanhofen@jessie:~/ni/buildsystem/source/ni-libcoolstream[master]$ git diff
  2. diff --git a/hd1/cs_api.cpp b/hd1/cs_api.cpp
  3. index 706c1d3..667bbdb 100644
  4. --- a/hd1/cs_api.cpp
  5. +++ b/hd1/cs_api.cpp
  6. @@ -429,6 +429,12 @@ unsigned int cs_get_revision(void)
  7.         return rev;
  8.  }
  9.  
  10. +unsigned int cs_get_chip_type(void)
  11. +{
  12. +       unsigned int chip_type = 0;
  13. +       return chip_type;
  14. +}
  15. +
  16.  unsigned long long cs_get_serial(void)
  17.  {
  18.         unsigned long long serial = 0ULL;
  19. diff --git a/hd1/cs_api.h b/hd1/cs_api.h
  20. index 3493c98..e316056 100644
  21. --- a/hd1/cs_api.h
  22. +++ b/hd1/cs_api.h
  23. @@ -71,7 +71,7 @@ int cs_get_tsp_config(unsigned int port, tsrouter_tsp_config_t *tsp_config);
  24.  // Serial nr and revision accessors
  25.  unsigned long long cs_get_serial(void);
  26.  unsigned int cs_get_revision(void);
  27. -
  28. +unsigned int cs_get_chip_type(void);
  29.  
  30.  // library version functions
  31.  typedef struct cs_libversion_t
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement