Add accessors for speed_khz; use them in jim command handler.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2058 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
zwelch
2009-06-05 00:02:00 +00:00
parent 8580c70172
commit d530313866
2 changed files with 21 additions and 12 deletions

View File

@@ -642,5 +642,7 @@ extern int jtag_add_statemove(tap_state_t goal_state);
/// @returns the number of times the scan queue has been flushed
int jtag_get_flush_queue_count(void);
void jtag_set_speed_khz(unsigned speed);
unsigned jtag_get_speed_khz(void);
#endif /* JTAG_H */