Skip to content

Commit

Permalink
Fixes for new SDRangel API
Browse files Browse the repository at this point in the history
  • Loading branch information
f4exb committed May 8, 2019
1 parent 0b00edd commit 18afaf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { AddDevicesetDialogComponent } from './main/add-deviceset-dialog/add-dev
export class AppComponent {

title = 'SDRangelCli';
version = '1.1.0';
version = '1.1.1';
sdrangelURL = 'http://127.0.0.1:8091/sdrangel'; // the default URL

constructor(private sdrangelUrlService: SdrangelUrlService,
Expand Down
2 changes: 1 addition & 1 deletion src/app/main/add-deviceset-dialog/add-deviceset.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class AddDevicesetService {
'Content-Type': 'application/json'
})
};
const newurl = url + (isTx ? '?tx=1' : '?tx=0');
const newurl = url + (isTx ? '?direction=1' : '?direction=0');
return this.http.post(newurl, httpOptions);
}
}

0 comments on commit 18afaf9

Please sign in to comment.