diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2019-11-15 14:02:18 -0600 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2019-11-15 14:02:18 -0600 |
commit | f870877782ba8a279580f2df0ab7c244a4849ab0 (patch) | |
tree | 2ec9a30033436ebecd05cf2e2d3df1b477c0e57f /libloragw/src/loragw_fpga.c | |
parent | 408ecd322635e37c710006c95a22dddc455e7f08 (diff) | |
download | lora_gateway_mtac_full-f870877782ba8a279580f2df0ab7c244a4849ab0.tar.gz lora_gateway_mtac_full-f870877782ba8a279580f2df0ab7c244a4849ab0.tar.bz2 lora_gateway_mtac_full-f870877782ba8a279580f2df0ab7c244a4849ab0.zip |
Changed attenuator power to be int instead of float
Diffstat (limited to 'libloragw/src/loragw_fpga.c')
-rw-r--r-- | libloragw/src/loragw_fpga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libloragw/src/loragw_fpga.c b/libloragw/src/loragw_fpga.c index 368fe37..906f4b5 100644 --- a/libloragw/src/loragw_fpga.c +++ b/libloragw/src/loragw_fpga.c @@ -366,7 +366,7 @@ int lgw_fpga_reg_rb(uint16_t register_id, uint8_t *data, uint16_t size) { /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -int lgw_set_attenuation(float *attn) { +int lgw_set_attenuation(uint8_t *attn) { if (*attn < 0) { return LGW_HAL_ERROR; } |