Skip to content

Commit

Permalink
Clean TODOs - #21
Browse files Browse the repository at this point in the history
  • Loading branch information
soif committed Dec 23, 2019
1 parent 4234a73 commit 97584b4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/espbuddy.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
class EspBuddy {

public $espb_version = '2.03b3'; // EspBuddy Version
public $espb_version = '2.03b4'; // EspBuddy Version
public $espb_gh_owner = 'soif'; // Github Owner
public $espb_gh_repo = 'EspBuddy'; // Github Repository
public $espb_gh_branch_main = 'master'; // Github Master Branch
Expand Down Expand Up @@ -582,7 +582,7 @@ public function Command_repo($type){
$this->Command_repo('version');
}
elseif($type == 'checkout'){
// TODO: Checkout Git
// TODO: Checkout Git
//$branch = $this->c_host['checkout'] or $branch = 'master';
//$this->_Git("git checkout {$branch}");
}
Expand Down Expand Up @@ -1243,7 +1243,7 @@ private function _sonodiy_api_pulse($ip, $id, $state_bool=0, $width=1000){
)
);
if($width){
//TODO Check that $width is a multiples of 500
//TODO Check that $width is a multiples of 500
$data['data']['pulseWidth']=$width;
}
return $this->_sondiy_curl($ip,'pulse',$data);
Expand Down Expand Up @@ -1718,7 +1718,7 @@ private function _findConnectedSerialPorts(){
}
}
elseif($this->os=='win'){
//WINDOWS TODO: list Serials Ports
//TODO: Windows: list Serials Ports
}
}

Expand Down Expand Up @@ -1909,6 +1909,7 @@ private function _AskYesNo($question='Are you sure', $allow_noconfirm = true){

// ---------------------------------------------------------------------------------------
//http://stackoverflow.com/questions/3684367/php-cli-how-to-read-a-single-character-of-input-from-the-tty-without-waiting-f
//TODO: Windows: make _Ask() work!
private function _Ask($str_choices='', $force='', $sep="\n ", $eol="\n",$message=""){
if($force and !$this->flag_verbose){
return $force;
Expand Down Expand Up @@ -2442,7 +2443,7 @@ private function _BashAutoCompleteReadCommandAndAction($function_to_callback, $q
// ---------------------------------------------------------------------------------------
private function _BashAutoComplete($index1){

// TODO fix Linux NOT proposing the second action (work well in OSX and WIndows)
// TODO: Linux: fix NOT proposing the second action (work well in OSX and WIndows)
if($this->os=='lin'){
return false;
}
Expand Down

0 comments on commit 97584b4

Please sign in to comment.