Skip to content

Commit f2fdbe9

Browse files
author
neil.hamilton
committed
Update ps6000a.py to include default resolution enumeration
1 parent 8116166 commit f2fdbe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

picosdk/ps6000a.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __init__(self):
2020

2121
ps6000a = Ps6000alib()
2222

23-
ps6000a.DEFAULT_RESOLUTION = enums.PICO_DEVICE_RESOLUTION("PICO_DR_8BIT")
23+
ps6000a.DEFAULT_RESOLUTION = enums.PICO_DEVICE_RESOLUTION["PICO_DR_8BIT"]
2424

2525
doc = """ void ps6000aExternalReferenceInteractions
2626
(
@@ -146,7 +146,7 @@ def __init__(self):
146146
int16_t *requiredSize,
147147
PICO_INFO info
148148
); """
149-
ps6000a.make_symbol("_GetUnitInfo", "ps6000aGetUnitInfo", c_uint32, [c_int16, c_char_p, c_int16, c_void_p, c_int32], doc)
149+
ps6000a.make_symbol("_GetUnitInfo", "ps6000aGetUnitInfo", c_uint32, [c_int16, c_char_p, c_int16, c_void_p, c_uint32], doc)
150150

151151
doc = """ PICO_STATUS ps6000aCloseUnit
152152
(

0 commit comments

Comments
 (0)