File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11
11
from viz import camera , streamer , image , blob
12
12
import config
13
13
14
- CAMERA_REFRESH_INTERVAL = 0.01
14
+ CAMERA_REFRESH_INTERVAL = 0.1
15
15
MAX_IMAGE_AGE = 0.0
16
16
PHOTO_PATH = "./photos"
17
17
PHOTO_PREFIX = "DSC"
Original file line number Diff line number Diff line change @@ -49,7 +49,8 @@ def start_hostapd(cls):
49
49
hostapd_type = cls .hostapds .get (adapter )
50
50
try :
51
51
print "starting hostapd..."
52
- os .system ("start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/" + hostapd_type + " -- /etc/hostapd/" + hostapd_type + " &" )
52
+ #os.system("start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/" + hostapd_type + " -- /etc/hostapd/" + hostapd_type + " &")
53
+ os .system ("/usr/sbin/" + hostapd_type + " /etc/hostapd/" + hostapd_type + " -B" )
53
54
54
55
except subprocess .CalledProcessError as e :
55
56
print e .output
You can’t perform that action at this time.
0 commit comments