Skip to content

Commit

Permalink
Fix #1083: assignment to const error
Browse files Browse the repository at this point in the history
  • Loading branch information
andynoack committed Nov 10, 2023
1 parent 1593ffa commit 64df785
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/urh/dev/native/lib/climesdr.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ctypedef unsigned long long uint64_t

cdef extern from "lime/LimeSuite.h":
ctypedef double float_type
const int LMS_SUCCESS = 0
int LMS_SUCCESS = 0

ctypedef void lms_device_t
ctypedef char lms_info_str_t[256]
Expand All @@ -14,8 +14,8 @@ cdef extern from "lime/LimeSuite.h":
int LMS_Open(lms_device_t ** device, lms_info_str_t info, void*args)
int LMS_Close(lms_device_t *device)

const bool LMS_CH_TX = True
const bool LMS_CH_RX = False
bool LMS_CH_TX = True
bool LMS_CH_RX = False

ctypedef struct lms_range_t:
float_type min # Minimum allowed value
Expand Down

0 comments on commit 64df785

Please sign in to comment.