mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-03 06:24:49 -04:00
OSX now compiling and working
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ AppFrame::AppFrame() :
|
||||
|
||||
new TestGLCanvas(this, NULL);
|
||||
|
||||
SetIcon(wxICON(sample));
|
||||
// SetIcon(wxICON(sample));
|
||||
|
||||
// Make a menubar
|
||||
wxMenu *menu = new wxMenu;
|
||||
|
||||
+2
-2
@@ -81,11 +81,11 @@ void SDRThread::enumerate_rtl() {
|
||||
}
|
||||
|
||||
wxThread::ExitCode SDRThread::Entry() {
|
||||
__int8 *buf = (__int8 *) malloc(BUF_SIZE);
|
||||
signed char *buf = (signed char *) malloc(BUF_SIZE);
|
||||
|
||||
enumerate_rtl();
|
||||
|
||||
rtlsdr_open(&dev, 4);
|
||||
rtlsdr_open(&dev, 0);
|
||||
rtlsdr_set_sample_rate(dev, 2500000);
|
||||
rtlsdr_set_center_freq(dev, 105700000);
|
||||
rtlsdr_reset_buffer(dev);
|
||||
|
||||
Reference in New Issue
Block a user