mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
raspberrypi3: fixed error when tweaking board-specific options
This commit is contained in:
parent
25bd35ab28
commit
82ac6f61b4
@ -139,17 +139,17 @@ def _set_board_settings(s):
|
||||
if 'gpu_mem' not in seen:
|
||||
lines.append('gpu_mem=%s' % s['gpuMem'])
|
||||
|
||||
if 'arm_freq' not in seen:
|
||||
lines.append('arm_freq=%s' % arm_freq)
|
||||
#if 'arm_freq' not in seen:
|
||||
# lines.append('arm_freq=%s' % arm_freq)
|
||||
|
||||
if 'gpu_freq' not in seen:
|
||||
lines.append('gpu_freq=%s' % gpu_freq)
|
||||
#if 'gpu_freq' not in seen:
|
||||
# lines.append('gpu_freq=%s' % gpu_freq)
|
||||
|
||||
if 'sdram_freq' not in seen:
|
||||
lines.append('sdram_freq=%s' % sdram_freq)
|
||||
#if 'sdram_freq' not in seen:
|
||||
# lines.append('sdram_freq=%s' % sdram_freq)
|
||||
|
||||
if 'over_voltage' not in seen:
|
||||
lines.append('over_voltage=%s' % over_voltage)
|
||||
#if 'over_voltage' not in seen:
|
||||
# lines.append('over_voltage=%s' % over_voltage)
|
||||
|
||||
if 'disable_camera_led' not in seen:
|
||||
lines.append('disable_camera_led=%s' % ['1', '0'][s['cameraLed']])
|
||||
|
Loading…
x
Reference in New Issue
Block a user