Skip to content

Commit 9ef6df8

Browse files
author
coderbot
committed
-
1 parent 74ef0ea commit 9ef6df8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from viz import camera, streamer, image, blob
1212
import config
1313

14-
CAMERA_REFRESH_INTERVAL=0.01
14+
CAMERA_REFRESH_INTERVAL=0.1
1515
MAX_IMAGE_AGE = 0.0
1616
PHOTO_PATH = "./photos"
1717
PHOTO_PREFIX = "DSC"

wifi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def start_hostapd(cls):
4949
hostapd_type = cls.hostapds.get(adapter)
5050
try:
5151
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")
5354

5455
except subprocess.CalledProcessError as e:
5556
print e.output

0 commit comments

Comments
 (0)