Skip to content

Commit

Permalink
remove kernel_attr (inline transform is now smart enough to autodetect)
Browse files Browse the repository at this point in the history
sbourdeauducq committed Nov 3, 2014
1 parent a29d7ec commit f54a2f9
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions artiq/coredevice/dds.py
Original file line number Diff line number Diff line change
@@ -23,8 +23,6 @@ def build(self):
self.previous_frequency = 0*MHz
self.sw = rtio.RTIOOut(self, channel=self.rtio_switch)

kernel_attr = "previous_frequency"

@portable
def frequency_to_ftw(self, frequency):
"""Returns the frequency tuning word corresponding to the given
4 changes: 0 additions & 4 deletions artiq/coredevice/rtio.py
Original file line number Diff line number Diff line change
@@ -18,8 +18,6 @@ def build(self):
self.previous_timestamp = int64(0) # in RTIO cycles
self._set_oe()

kernel_attr = "previous_timestamp"

@kernel
def _set_oe(self):
syscall("rtio_oe", self.channel, 1)
@@ -62,8 +60,6 @@ def build(self):
self.previous_timestamp = int64(0) # in RTIO cycles
self.previous_value = 0

kernel_attr = "previous_timestamp previous_value"

@kernel
def _set_oe(self, oe):
syscall("rtio_oe", self.channel, oe)
2 changes: 0 additions & 2 deletions artiq/devices/pdq2/__init__.py
Original file line number Diff line number Diff line change
@@ -123,8 +123,6 @@ def build(self):
self.current_frame = -1
self.next_sn = -1

kernel_attr = "current_frame next_sn"

def create_frame(self):
return _Frame(self.core)

0 comments on commit f54a2f9

Please sign in to comment.