File tree Expand file tree Collapse file tree 5 files changed +9
-4
lines changed Expand file tree Collapse file tree 5 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 11# Changelog
2+ ## Version 2.7.3
3+ Fixed
4+ - ` .c_str() ` for AppKey, AppSecret and DeviceId return now a valid ` const char* `
5+
6+
27## Version 2.7.2
38Fixed:
49- The examples are now located in subfolders if more than one example is provided
Original file line number Diff line number Diff line change 1313 "maintainer" : true
1414 }
1515 ],
16- "version" : " 2.7.2 " ,
16+ "version" : " 2.7.3 " ,
1717 "frameworks" : " arduino" ,
1818 "platforms" : [
1919 " espressif8266" ,
Original file line number Diff line number Diff line change 11name =SinricPro
2- version =2.7.2
2+ version =2.7.3
33author =Boris Jaeger <sivar2311@gmail.com>
44maintainer =Boris Jaeger <sivar2311@gmail.com>
55sentence =Library for https://sinric.pro - simple way to connect your device to alexa
Original file line number Diff line number Diff line change 2525// Version Configuration
2626#define SINRICPRO_VERSION_MAJOR 2
2727#define SINRICPRO_VERSION_MINOR 7
28- #define SINRICPRO_VERSION_REVISION 2
28+ #define SINRICPRO_VERSION_REVISION 3
2929#define SINRICPRO_VERSION STR(SINRICPRO_VERSION_MAJOR) "." STR(SINRICPRO_VERSION_MINOR) "." STR(SINRICPRO_VERSION_REVISION)
3030#define SINRICPRO_VERSION_STR "SinricPro (v" SINRICPRO_VERSION ")"
3131
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class SinricProId {
122122 operator String () const { return _data.toString (); }
123123
124124 String toString () const { return _data.toString (); };
125- const char * c_str () const { return _data.toString ().c_str (); }
125+ const char * c_str () const { static String str = _data.toString (); return str .c_str (); }
126126 bool isValid () const { return !compare (SinricProId<T>()); }
127127
128128 private:
You can’t perform that action at this time.
0 commit comments