Skip to content

Commit

Permalink
Merge pull request #102 from mikevanis/main
Browse files Browse the repository at this point in the history
Remove redundant calls to enable camera, add legacy call
  • Loading branch information
andysheen authored Feb 21, 2022
2 parents aaf4382 + f89c40b commit 4c0b023
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ If applicable, add screenshots to help explain your problem.
- Version [e.g. 22]

**Hardware**
- Device: [e.g. Pi Zero W]
- Device: [e.g. Pi Zero 2 W]
- Camera: [e.g. ZeroCam v1.0]
- Naturewatch Camera software version: [e.g. v1.4.1]
- Power supply used: [e.g. Official Pi Adapter]
Expand Down
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Please also list any relevant details for your test configuration.

**Tested on the following devices**:
- [ ] Development environment (Linux, Windows, or MacOS)
- [ ] Pi Zero 2 W
- [ ] Pi Zero W
- [ ] Pi 3A+
- [ ] Pi 3B+
Expand Down
3 changes: 1 addition & 2 deletions os/modules/naturewatchcamera/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ echo "$NATUREWATCHCAMERA_VAR"
apt-get install -y gpac

echo "Enabling legacy camera support for Pi Zero W 2"
raspi-config nonint do_camera 1
echo "start_x=1" >> /boot/config.txt
raspi-config nonint do_legacy 0

echo "Installing OpenCV"
pip3 install -U pip numpy opencv-python-headless
Expand Down

0 comments on commit 4c0b023

Please sign in to comment.