mirror of
https://github.com/cryptonote-social/csminer.git
synced 2024-10-26 05:57:11 +03:00
fix osx machine stater
This commit is contained in:
parent
3dff9834ea
commit
e6647344ba
@ -20,7 +20,7 @@ type OSXMachineStater struct {
|
||||
// The OSX implementation of the screen & batter state notification channel is based on polling the
|
||||
// state every 10 seconds. It would be better to figure out how to get notified of state changes
|
||||
// when they happen.
|
||||
func (s OSXMachineStater) GetMachineStateChannel(saver bool) (chan csminer.ScreenState, error) {
|
||||
func (s OSXMachineStater) GetMachineStateChannel(saver bool) (chan csminer.MachineState, error) {
|
||||
ret := make(chan csminer.MachineState)
|
||||
|
||||
go func() {
|
||||
|
Loading…
Reference in New Issue
Block a user