2021-05-17 04:19:20 +03:00
|
|
|
// +build !pi0,!pi3
|
2020-02-28 06:09:04 +03:00
|
|
|
|
2020-03-06 07:56:35 +03:00
|
|
|
/*
|
|
|
|
DESCRIPTION
|
2021-05-17 04:19:20 +03:00
|
|
|
not_pi.go lets looper build on non-RPi environments, but leaves a
|
|
|
|
non-functional executable.
|
2020-03-06 07:56:35 +03:00
|
|
|
|
|
|
|
AUTHORS
|
2021-05-17 04:19:20 +03:00
|
|
|
Dan Kortschak <dan@ausocean.org>
|
2020-03-06 07:56:35 +03:00
|
|
|
|
|
|
|
LICENSE
|
2021-05-17 04:19:20 +03:00
|
|
|
Copyright (C) 2021 the Australian Ocean Lab (AusOcean)
|
2020-03-06 07:56:35 +03:00
|
|
|
|
|
|
|
It is free software: you can redistribute it and/or modify them
|
|
|
|
under the terms of the GNU General Public License as published by the
|
|
|
|
Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
option) any later version.
|
|
|
|
|
|
|
|
It is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
in gpl.txt. If not, see http://www.gnu.org/licenses.
|
|
|
|
*/
|
|
|
|
|
2020-02-28 06:09:04 +03:00
|
|
|
package main
|
|
|
|
|
2021-05-17 04:19:20 +03:00
|
|
|
import (
|
2022-05-27 09:12:52 +03:00
|
|
|
"bitbucket.org/ausocean/utils/logging"
|
2021-05-17 04:19:20 +03:00
|
|
|
)
|
2020-02-28 07:00:55 +03:00
|
|
|
|
2021-05-17 04:19:20 +03:00
|
|
|
const audioCmd = "play"
|
2020-02-28 06:09:04 +03:00
|
|
|
|
2022-05-27 09:12:52 +03:00
|
|
|
func initCommand(l logging.Logger) {
|
2021-05-17 04:19:20 +03:00
|
|
|
panic("looper is intended to be run on a Raspberry Pi 0 or 3.")
|
|
|
|
}
|