diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-07-13 17:38:34 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-07-13 17:47:01 +0200 |
commit | f617da0552c95202807c5e41c70bc78a3189378e (patch) | |
tree | bcb5c16a82515465661430d90eede48000918700 /utils/hwstub/stub/stmp/target.c | |
parent | 140783ef66eef379feedcfef5403c5729d38936a (diff) | |
download | rockbox-f617da0552c95202807c5e41c70bc78a3189378e.tar.gz rockbox-f617da0552c95202807c5e41c70bc78a3189378e.zip |
hwstub: enhance protocol with more functions
Change-Id: I7944249c2f7ea3e180e7b79ee8ae402d1d0742d3
Diffstat (limited to 'utils/hwstub/stub/stmp/target.c')
-rw-r--r-- | utils/hwstub/stub/stmp/target.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/hwstub/stub/stmp/target.c b/utils/hwstub/stub/stmp/target.c index 60411f908e..11516e5492 100644 --- a/utils/hwstub/stub/stmp/target.c +++ b/utils/hwstub/stub/stmp/target.c | |||
@@ -196,6 +196,11 @@ int target_get_info(int info, void **buffer) | |||
196 | *buffer = &g_stmp; | 196 | *buffer = &g_stmp; |
197 | return sizeof(g_stmp); | 197 | return sizeof(g_stmp); |
198 | } | 198 | } |
199 | else if(info == HWSTUB_INFO_TARGET) | ||
200 | { | ||
201 | *buffer = &g_target; | ||
202 | return sizeof(g_target); | ||
203 | } | ||
199 | else | 204 | else |
200 | return -1; | 205 | return -1; |
201 | } | 206 | } |