diff options
| author | Ha Thach <[email protected]> | 2024-10-07 11:11:54 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-07 11:11:54 +0700 |
| commit | a13dbd4452c2ff80923df363a1468be50f56d2ed (patch) | |
| tree | f3eb2c5b1e46a221163b63f410e5323c5e16c075 /examples/device | |
| parent | 6bfd02413785b8cdb3b4bb7e2f3851be0a50156e (diff) | |
| parent | 616532892d913b7224806ed1e881b72ed66bb3e1 (diff) | |
Merge pull request #2809 from shuffle2/master
make all python files executable and standardize interpreter
Diffstat (limited to 'examples/device')
| -rwxr-xr-x[-rw-r--r--] | examples/device/audio_4_channel_mic/src/plot_audio_samples.py | 1 | ||||
| -rwxr-xr-x[-rw-r--r--] | examples/device/audio_4_channel_mic_freertos/src/plot_audio_samples.py | 1 | ||||
| -rwxr-xr-x[-rw-r--r--] | examples/device/audio_test/src/plot_audio_samples.py | 1 | ||||
| -rwxr-xr-x[-rw-r--r--] | examples/device/audio_test_freertos/src/plot_audio_samples.py | 1 | ||||
| -rwxr-xr-x[-rw-r--r--] | examples/device/audio_test_multi_rate/src/plot_audio_samples.py | 1 | ||||
| -rwxr-xr-x[-rw-r--r--] | examples/device/hid_generic_inout/hid_test.py | 1 | ||||
| -rwxr-xr-x[-rw-r--r--] | examples/device/uac2_speaker_fb/src/audio_debug.py | 1 | ||||
| -rwxr-xr-x[-rw-r--r--] | examples/device/usbtmc/visaQuery.py | 0 |
8 files changed, 7 insertions, 0 deletions
diff --git a/examples/device/audio_4_channel_mic/src/plot_audio_samples.py b/examples/device/audio_4_channel_mic/src/plot_audio_samples.py index d17a908b6..4d61e7f5e 100644..100755 --- a/examples/device/audio_4_channel_mic/src/plot_audio_samples.py +++ b/examples/device/audio_4_channel_mic/src/plot_audio_samples.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import sounddevice as sd import matplotlib.pyplot as plt import numpy as np diff --git a/examples/device/audio_4_channel_mic_freertos/src/plot_audio_samples.py b/examples/device/audio_4_channel_mic_freertos/src/plot_audio_samples.py index 8312b4e28..4d5ca28d6 100644..100755 --- a/examples/device/audio_4_channel_mic_freertos/src/plot_audio_samples.py +++ b/examples/device/audio_4_channel_mic_freertos/src/plot_audio_samples.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import sounddevice as sd import matplotlib.pyplot as plt import numpy as np diff --git a/examples/device/audio_test/src/plot_audio_samples.py b/examples/device/audio_test/src/plot_audio_samples.py index 1504684a6..ea6aa661e 100644..100755 --- a/examples/device/audio_test/src/plot_audio_samples.py +++ b/examples/device/audio_test/src/plot_audio_samples.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import sounddevice as sd import matplotlib.pyplot as plt import numpy as np diff --git a/examples/device/audio_test_freertos/src/plot_audio_samples.py b/examples/device/audio_test_freertos/src/plot_audio_samples.py index 304b2d5de..46738eb3f 100644..100755 --- a/examples/device/audio_test_freertos/src/plot_audio_samples.py +++ b/examples/device/audio_test_freertos/src/plot_audio_samples.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import sounddevice as sd import matplotlib.pyplot as plt import numpy as np diff --git a/examples/device/audio_test_multi_rate/src/plot_audio_samples.py b/examples/device/audio_test_multi_rate/src/plot_audio_samples.py index c92e49957..1f33a003e 100644..100755 --- a/examples/device/audio_test_multi_rate/src/plot_audio_samples.py +++ b/examples/device/audio_test_multi_rate/src/plot_audio_samples.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import sounddevice as sd import matplotlib.pyplot as plt import numpy as np diff --git a/examples/device/hid_generic_inout/hid_test.py b/examples/device/hid_generic_inout/hid_test.py index 5bdba9db0..3aaca9d2c 100644..100755 --- a/examples/device/hid_generic_inout/hid_test.py +++ b/examples/device/hid_generic_inout/hid_test.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Install python3 HID package https://pypi.org/project/hid/ import hid diff --git a/examples/device/uac2_speaker_fb/src/audio_debug.py b/examples/device/uac2_speaker_fb/src/audio_debug.py index 336c46c01..05b49baf6 100644..100755 --- a/examples/device/uac2_speaker_fb/src/audio_debug.py +++ b/examples/device/uac2_speaker_fb/src/audio_debug.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # Install python3 HID package https://pypi.org/project/hid/ # Install python3 matplotlib package https://pypi.org/project/matplotlib/ diff --git a/examples/device/usbtmc/visaQuery.py b/examples/device/usbtmc/visaQuery.py index ca65daf97..ca65daf97 100644..100755 --- a/examples/device/usbtmc/visaQuery.py +++ b/examples/device/usbtmc/visaQuery.py |
