cli: suppress string at end

parent 5a7fe1cd
......@@ -154,92 +154,3 @@ if __name__ == '__main__':
cli = OauTest()
cli.cmdloop_intr()
if False:
"""
int oau_att_open(int lun);
int oau_att_close(int fd);
enum oau_att_value_enum oau_att_get_relay(int fd, int channel);
int oau_att_set_relay(int fd, int channel, enum oau_att_value_enum val);
int oau_att_get_nchannels(int fd);
extern const char * const liboau_att_version_s;
#ifndef __LIBOASIS_USB_ATT_H
#define __LIBOASIS_USB_ATT_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* @enum oau_att_value_enum
* @brief Valid relay values
*
*/
enum oau_att_value_enum {
ATT_ERR = -1, /**< Error */
ATT_NONE = 0x0, /**< No attenuation */
ATT_1 = 0x01, /**< Attenuator 1: 20dB */
ATT_2 = 0x03, /**< Attenuator 1+2: 40dB */
};
/**
* @brief Open a msatt device
*
* A board is selected by lun, and a handle is returned for further
* reference to it.
*
* @param lun - LUN of msatt card
*
* @return >0 - on success, device file descriptor number
*/
int oau_att_open(int lun);
/**
* @brief close a channel handle
*
* @param fd Handle to close
*/
int oau_att_close(int fd);
/**
* @brief Get attenuation value for a given channel
*
* Each channel can be on one of these states:
* - No attenuation active (Relay value = 0x0)
* - 20dB attenuation (Relay value = 0x1)
* - 40dB attenuation (Relay value = 0x3)
*
* @param fd Device handle identifying board
* @param channel Channel [1,2,3,4] on the board to read from
*
* @return ATT_ERR on failure, another oau_att_value_enum value on success
*/
/**
* @brief Set attenuation value for a given channel
*
* @param fd Device handle identifying board
* @param channel Channel on the board [1,2,3,4]
* @param val Valid oau_att_value_enum relay value
*
* @return Upon successful completion, returns a value other than -1. On failure it returns -1
*/
/**
* @brief Gets the number of channels (2 or 4)
*
* @param fd Device handle identifying board
*
* @return -1 on fail, 2 for MSATTN2 and 4 for MSATTN4
*/
/* libmsatt version string */
#ifdef __cplusplus
}
#endif
#endif /* __LIBOASIS_USB_ATT_H */
"""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment