mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 08:38:07 -07:00
dev-python/pslab-python: new package
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
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- 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
|
||||
Reference in New Issue
Block a user