Embed ware version interface in shimlib
This commit is contained in:
@@ -111,6 +111,8 @@ const char* GetDeviceInfo(DeviceInfo infoType) {
|
||||
switch (infoType) {
|
||||
case MEAN_TEMPERATURE:
|
||||
return "28";
|
||||
case VERSION:
|
||||
return "v6.6.06";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -29,7 +29,8 @@ typedef enum {
|
||||
|
||||
//kinds of device information
|
||||
typedef enum {
|
||||
MEAN_TEMPERATURE
|
||||
MEAN_TEMPERATURE,
|
||||
VERSION
|
||||
} DeviceInfo;
|
||||
|
||||
extern int InitLib(void(*)(const char *msg));
|
||||
|
||||
Reference in New Issue
Block a user