Put rate limiting options behind #ifdef

Fixes compile issue when ENABLE_IPMI_SNOOP is set (rateLimit var set but
not used).

Also add usage help text for --rate-limit option.

Tested: Compiles with IPMI snoop feature enabled and disabled.

Change-Id: I13a7f6c4633577d24124667a428f047b657c0da1
Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
1 file changed
tree: 5ec821f664da118c9ea7ce734f2faab3d553a1a7
  1. ipmisnoop/
  2. lpcsnoop/
  3. subprojects/
  4. test/
  5. .clang-format
  6. .gitignore
  7. 7seg.cpp
  8. 80-7seg.rules
  9. example.cpp
  10. LICENSE
  11. lpcsnoop.service.in
  12. main.cpp
  13. meson.build
  14. meson_options.txt
  15. OWNERS
  16. postcode-7seg@.service
  17. README.md
README.md

LPC Snoop Broadcast Daemon

This is a simple daemon which reads a file interface from an lpc-snoop driver and broadcasts the values read on DBus.