streamline CmdEM410xWatch
This commit is contained in:
parent
4c8db262c0
commit
ab2fd3d68b
@ -235,16 +235,11 @@ int CmdEM410xSim(const char *Cmd)
|
|||||||
* looped until an EM410x tag is detected */
|
* looped until an EM410x tag is detected */
|
||||||
int CmdEM410xWatch(const char *Cmd)
|
int CmdEM410xWatch(const char *Cmd)
|
||||||
{
|
{
|
||||||
char *zero = "";
|
|
||||||
char *twok = "2000";
|
|
||||||
|
|
||||||
int stop = 0;
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
CmdLFRead(zero);
|
CmdLFRead("");
|
||||||
CmdLFSamples(twok);
|
CmdSamples("2000");
|
||||||
stop = CmdEM410xRead(zero);
|
} while ( ! CmdEM410xRead(""));
|
||||||
} while (!stop);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user