]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/ols.h
Mac OS X build fixes
[libsigrok.git] / hardware / openbench-logic-sniffer / ols.h
index b9bbc67c6287775496de21b9263db42bde2de9a3..e6afd0e08e38ffd2957f6898cad8ba88ba102cae 100644 (file)
@@ -17,7 +17,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-
 #ifndef OLS_H_
 #define OLS_H_
 
@@ -60,7 +59,6 @@
 #define FLAG_CLOCK_INVERTED        0x80
 #define FLAG_RLE                   0x0100
 
-
 struct ols_device {
        uint32_t max_samplerate;
        uint32_t max_samples;
@@ -69,6 +67,7 @@ struct ols_device {
 
        uint64_t cur_samplerate;
        uint32_t cur_samplerate_divider;
+       uint64_t period_ps;
        uint64_t limit_samples;
        /* Current state of the flag register */
        uint32_t flag_reg;