Skip to content

Commit

Permalink
Fixed to large number.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbrechtL committed Mar 5, 2017
1 parent afb65e2 commit 040275e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/input/CAirspy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ void CAirspy::setAgc(bool AGC)
QString CAirspy::getName()
{
// Get airspy device name and version
char Version[300] = {0};
airspy_version_string_read(device, Version, 300);
char Version[255] = {0};
airspy_version_string_read(device, Version, 255);

// Get airspy library version
airspy_lib_version_t lib_version;
Expand Down

0 comments on commit 040275e

Please sign in to comment.