diff --git a/libarmbox/cs_api.h b/libarmbox/cs_api.h index fb5d613..e4349dd 100644 --- a/libarmbox/cs_api.h +++ b/libarmbox/cs_api.h @@ -62,5 +62,6 @@ unsigned long long cs_get_serial(void); #endif /* compat... HD1 seems to be version 6. everything newer ist > 6... */ static inline unsigned int cs_get_revision(void) { return 1; }; +static inline unsigned int cs_get_chip_type(void) { return 0; }; extern int cnxt_debug; #endif //__CS_API_H_ diff --git a/libduckbox/cs_api.h b/libduckbox/cs_api.h index 8ac8d93..1082ab7 100644 --- a/libduckbox/cs_api.h +++ b/libduckbox/cs_api.h @@ -26,5 +26,6 @@ static inline void cs_deregister_messenger(void) { return; }; /* compat... HD1 seems to be version 6. everything newer ist > 6... */ static inline unsigned int cs_get_revision(void) { return 1; }; +static inline unsigned int cs_get_chip_type(void) { return 0; }; extern int cnxt_debug; #endif //__CS_API_H_ diff --git a/libspark/cs_api.h b/libspark/cs_api.h index fb5d613..e4349dd 100644 --- a/libspark/cs_api.h +++ b/libspark/cs_api.h @@ -62,5 +62,6 @@ unsigned long long cs_get_serial(void); #endif /* compat... HD1 seems to be version 6. everything newer ist > 6... */ static inline unsigned int cs_get_revision(void) { return 1; }; +static inline unsigned int cs_get_chip_type(void) { return 0; }; extern int cnxt_debug; #endif //__CS_API_H_ diff --git a/libtriple/cs_api.h b/libtriple/cs_api.h index 292430d..47890e0 100644 --- a/libtriple/cs_api.h +++ b/libtriple/cs_api.h @@ -62,5 +62,6 @@ unsigned long long cs_get_serial(void); #endif /* compat... HD1 seems to be version 6. everything newer ist > 6... */ static inline unsigned int cs_get_revision(void) { return 1; }; +static inline unsigned int cs_get_chip_type(void) { return 0; }; extern int cnxt_debug; #endif //__CS_API_H_