Commit 88808cb3 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev
Browse files

from /tmp back to / - because overlayfs

parent 4e2a8fce
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -39,7 +39,8 @@ import shutil
import sys
import subprocess

path="/tmp/img.jpeg"
path="/www/pages/img.jpeg"
#path="/tmp/img.jpeg"
PORT=8888
def communicate(port,snd_str):
    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
@@ -67,7 +68,7 @@ acquisition_parameters={
        "black":        None,
        "colorsat_blue":None,
        "colorsat_red": None,
        "server_root":  "/tmp/",
        "server_root":  "/www/pages/",
        "gain_r":       None,
        "gain_gr":      None,
        "gain_gb":      None,
+2 −2
Original line number Diff line number Diff line
@@ -39,8 +39,8 @@ from time import sleep
import vrlg # global parameters
import x393_axi_control_status
import shutil
#DEFAULT_BITFILE="/usr/local/verilog/x393.bit"
DEFAULT_BITFILE="/tmp/x393.bit"
DEFAULT_BITFILE="/usr/local/verilog/x393.bit"
#DEFAULT_BITFILE="/tmp/x393.bit"
FPGA_RST_CTRL =    0xf8000240
FPGA0_THR_CTRL =   0xf8000178
FPGA_LVL_SHFTR =   0xf8000900 # 0xf: all enabled, 0x0 - disable all