diff options
author | Marcus Müller <marcus.mueller@ettus.com> | 2016-01-13 17:06:06 +0100 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-01-26 17:19:39 +0100 |
commit | 45335d1e1ca9da7872f4ab9a91b9d214e5ef6ba6 (patch) | |
tree | 359dd6db30e30a7d47b15d778c97368e87cae4fc /firmware/octoclock/include/state.h | |
parent | 17712af3b8f1f4cc1bdd11f0f4377c79cb6da87b (diff) | |
download | uhd-45335d1e1ca9da7872f4ab9a91b9d214e5ef6ba6.tar.gz uhd-45335d1e1ca9da7872f4ab9a91b9d214e5ef6ba6.tar.bz2 uhd-45335d1e1ca9da7872f4ab9a91b9d214e5ef6ba6.zip |
fx2: std::system("/sbin/rmmod usbtest") not portable, fixed that
FX2 code has complications on Windows machine due to
shell misinterpreting the "/sbin/rmmod usbtest" string.
* path should not be hardcoded
* std::system error message means "possible success" (which is confusing, and contains little information)
* replaced std::system by matching syscall
* used #ifdef UHD_PLATFORM_LINUX to make checking & removal Linux-only
Diffstat (limited to 'firmware/octoclock/include/state.h')
0 files changed, 0 insertions, 0 deletions