diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-08-09 18:35:37 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-09-07 17:46:13 +0200 |
commit | 29de3421341ff0b4d33279eeb344f779b6ef5d3e (patch) | |
tree | 33536ce368b8999ec5f01926059adb47ba29eab4 /utils/hwstub | |
parent | 0c7c54e18550f1765bece9d3ec0e7f67edde50cb (diff) | |
download | rockbox-29de3421341ff0b4d33279eeb344f779b6ef5d3e.tar.gz rockbox-29de3421341ff0b4d33279eeb344f779b6ef5d3e.zip |
hwstub: add string version
Change-Id: I919c27eb7ea69fdac7b3a65785a5a6eb3723a80e
Diffstat (limited to 'utils/hwstub')
-rw-r--r-- | utils/hwstub/hwstub_protocol.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/hwstub/hwstub_protocol.h b/utils/hwstub/hwstub_protocol.h index 23bc19ceee..dcf8c0950d 100644 --- a/utils/hwstub/hwstub_protocol.h +++ b/utils/hwstub/hwstub_protocol.h | |||
@@ -28,6 +28,10 @@ | |||
28 | #define HWSTUB_VERSION_MAJOR 4 | 28 | #define HWSTUB_VERSION_MAJOR 4 |
29 | #define HWSTUB_VERSION_MINOR 0 | 29 | #define HWSTUB_VERSION_MINOR 0 |
30 | 30 | ||
31 | #define HWSTUB_VERSION__(maj, min) #maj"."#min | ||
32 | #define HWSTUB_VERSION_(maj, min) HWSTUB_VERSION__(maj, min) | ||
33 | #define HWSTUB_VERSION HWSTUB_VERSION_(HWSTUB_VERSION_MAJOR, HWSTUB_VERSION_MINOR) | ||
34 | |||
31 | /** | 35 | /** |
32 | * A device can use any VID:PID but in case hwstub is in full control of the | 36 | * A device can use any VID:PID but in case hwstub is in full control of the |
33 | * device, the preferred VID:PID is the following. | 37 | * device, the preferred VID:PID is the following. |