mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-14 03:07:56 -08:00
Official library for communicating with the Pocket Science Lab, a universal USB-powered board featuring an oscilloscope, multimeter, logic analyser and many more. Signed-off-by: Marek Szuba <marecki@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
12 lines
296 B
Diff
12 lines
296 B
Diff
--- a/PSL/SENSORS/AD9833.py
|
|
+++ b/PSL/SENSORS/AD9833.py
|
|
@@ -3,7 +3,7 @@
|
|
|
|
|
|
class AD9833:
|
|
- if sys.version.major == 3:
|
|
+ if sys.version_info.major == 3:
|
|
DDS_MAX_FREQ = 0xFFFFFFF - 1 # 24 bit resolution
|
|
else:
|
|
DDS_MAX_FREQ = eval("0xFFFFFFFL-1") # 24 bit resolution
|