mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
26 lines
447 B
C++
26 lines
447 B
C++
#include "globals.h"
|
|
#include "flags.h"
|
|
#include "usb.h"
|
|
#include "protocol.h"
|
|
|
|
static FlagGroup flags;
|
|
|
|
static IntFlag drive(
|
|
{ "--drive", "-d" },
|
|
"drive to use",
|
|
0);
|
|
|
|
static IntFlag track(
|
|
{ "--track", "-t" },
|
|
"track to seek to",
|
|
0);
|
|
|
|
int mainSeek(int argc, const char* argv[])
|
|
{
|
|
flags.parseFlags(argc, argv);
|
|
|
|
usbSetDrive(drive, false, F_INDEX_REAL);
|
|
usbSeek(track);
|
|
return 0;
|
|
}
|