Update gain_viz/app.py
This commit is contained in:
parent
271fa73131
commit
0960b9a1e8
|
|
@ -11,9 +11,9 @@ import serial
|
|||
app = Flask(__name__)
|
||||
|
||||
# Path to save the plot image
|
||||
#PLOT_PATH = os.path.join(os.getcwd(), "plot.png")
|
||||
os.makedirs("/opt/gain_viz", exist_ok=True)
|
||||
PLOT_PATH = "/opt/gain_viz/plot.png"
|
||||
PLOT_PATH = os.path.join(os.getcwd(), "plot.png")
|
||||
|
||||
|
||||
|
||||
# Global variables for gain values
|
||||
usrp_tx_gain = 60
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user