summaryrefslogtreecommitdiffstats
path: root/libtoprammer/main.py
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2012-04-28 17:43:45 +0200
committerMichael Buesch <m@bues.ch>2012-04-28 17:43:45 +0200
commit062b021178e3e3b7db7a5dfa6f9182838d135de6 (patch)
treef7b8265678545f79b5cb312e132d124ba17b8d13 /libtoprammer/main.py
parentbe4de3f004ccafdad0794e134090b306677a3dd3 (diff)
downloadtoprammer-062b021178e3e3b7db7a5dfa6f9182838d135de6.tar.xz
toprammer-062b021178e3e3b7db7a5dfa6f9182838d135de6.zip
Fix oscillator callback
Signed-off-by: Michael Buesch <m@bues.ch>
Diffstat (limited to 'libtoprammer/main.py')
-rw-r--r--libtoprammer/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtoprammer/main.py b/libtoprammer/main.py
index 3d8fdfe..6c7098f 100644
--- a/libtoprammer/main.py
+++ b/libtoprammer/main.py
@@ -387,7 +387,7 @@ class TOP(object):
def getOscillatorHz(self):
"""Returns the FPGA oscillator frequency, in Hz.
The oscillator is connected to the FPGA clk pin."""
- self.hw.getOscillatorHz()
+ return self.hw.getOscillatorHz()
def getBufferRegSize(self):
"""Returns the size (in bytes) of the buffer register."""
bues.ch cgit interface