Skip to content

Commit

Permalink
libgphoto update, ST4 update
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahparker committed Mar 11, 2019
1 parent 231ecb2 commit d026cdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1770,8 +1770,13 @@ if (VIEW_HARDWARE) {

var getTrackingMotor = function(trackingMotor) {
if(trackingMotor && trackingMotor != 'none') {
var parts = trackingMotor.match(/^([A-Z]+)([0-9]+)(r?)$/);
var parts = trackingMotor.match(/^([A-Z]+)([0-9]+)(r?)$/);
if(parts && parts.length > 2) {
if(parts[1] == "ST") {
parts[1] = "ST4";
parts[2] = parts[2].substring(1);
}
return {
name: parts[1] + '-' + parts[2],
reverse: parts[3] == 'r' ? true : false,
Expand Down
2 changes: 1 addition & 1 deletion system/updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var baseInstallPath = "/home/view/";
var kernelVersion = "#51 PREEMPT Thu Jan 5 13:15:18 EST 2017";
var uBootVersion = "U-Boot SPL 2016.01 TL+ VIEW -00446-g12f229e-dirty (Dec 23 2016 - 17:47:10)";

var libgphoto2Version = "2.5.14.31";
var libgphoto2Version = "2.5.14.32";

var getLibGPhoto2Version = "/usr/local/bin/gphoto2 --version | grep \"libgphoto2 \"";
var installLibGPhoto2 = "/usr/bin/test -e /home/view/current/lib/libgphoto2_" + libgphoto2Version + "-1_armhf.deb && dpkg -i /home/view/current/lib/libgphoto2_" + libgphoto2Version + "-1_armhf.deb";
Expand Down

0 comments on commit d026cdf

Please sign in to comment.