mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Change the global config variable to a globalConfig() function.
This commit is contained in:
@@ -22,9 +22,9 @@ public:
|
||||
public:
|
||||
void writeFlux(int track, int side, const Fluxmap& fluxmap) override
|
||||
{
|
||||
usbSetDrive(config.drive().drive(),
|
||||
config.drive().high_density(),
|
||||
config.drive().index_mode());
|
||||
usbSetDrive(globalConfig().drive().drive(),
|
||||
globalConfig().drive().high_density(),
|
||||
globalConfig().drive().index_mode());
|
||||
#if 0
|
||||
if (fluxSourceSinkFortyTrack)
|
||||
{
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
operator std::string() const
|
||||
{
|
||||
return fmt::format("drive {}", config.drive().drive());
|
||||
return fmt::format("drive {}", globalConfig().drive().drive());
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user