File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,15 +75,15 @@ void enumerateIioEntities()
7575 for (ContextInfo info : *infoList)
7676 {
7777 cout << " uri: " << quoted (info.uri ().c_str ()) << endl;
78- cout << " description: " << quoted (info.desciption ().c_str ()) << endl;
78+ cout << " description: " << quoted (info.description ().c_str ()) << endl;
7979 }
8080
8181 cout << " scan block:" << endl;
8282 shared_ptr<ScanBlock> blk = create_scan_block ({}, 0 );
8383 for (ContextInfo info : *blk)
8484 {
8585 cout << " uri: " << quoted (info.uri ().c_str ()) << endl;
86- cout << " description: " << quoted (info.desciption ().c_str ()) << endl;
86+ cout << " description: " << quoted (info.description ().c_str ()) << endl;
8787 }
8888}
8989
Original file line number Diff line number Diff line change @@ -691,7 +691,7 @@ class ContextInfo
691691 ContextInfo (iio_context_info const * i) : p(i){assert (i);}
692692 operator iio_context_info const * () const {return p;}
693693
694- cstr desciption () const {return iio_context_info_get_description (p);}
694+ cstr description () const {return iio_context_info_get_description (p);}
695695 cstr uri () const {return iio_context_info_get_uri (p);}
696696};
697697
You can’t perform that action at this time.
0 commit comments