Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 10:18e6cd816998, committed 2021-10-06
- Comitter:
- YSI
- Date:
- Wed Oct 06 14:05:16 2021 +0000
- Parent:
- 9:382955a266cb
- Commit message:
- fix operator priority for macro SHT_WAIT
Changed in this revision
| lib_SHT25.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/lib_SHT25.h Wed Oct 06 13:41:00 2021 +0000 +++ b/lib_SHT25.h Wed Oct 06 14:05:16 2021 +0000 @@ -48,7 +48,7 @@ #define SHT_WAIT(ms) (thread_sleep_for(ms)) #else #define SHT_SELF_HEATING 0x01 //Keep self heating -#define SHT_WAIT(ms) (wait_us(1000*ms)) +#define SHT_WAIT(ms) (wait_us(1000*(ms))) #endif