mdb_config

package
v0.220801.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2022 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Overview

Separate package to for hardware/mdb related config structure. Ugly workaround to import cycles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Bill struct {
		ScalingFactor int `hcl:"scaling_factor"`
	}
	Coin struct {
		DispenseTimeoutSec int  `hcl:"dispense_timeout_sec"`
		GiveSmart          bool `hcl:"give_smart"`

		XXX_Deprecated_DispenseSmart bool `hcl:"dispense_smart"`
	}
	LogDebug   bool   `hcl:"log_debug"`
	UartDevice string `hcl:"uart_device"`
	UartDriver string `hcl:"uart_driver"` // file|mega|iodin
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL