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.
Diff: sps30.h
- Revision:
- 6:83ed80f27fff
- Parent:
- 4:7558ddc3c7d6
- Child:
- 7:4152825938bf
--- a/sps30.h Fri Mar 08 01:33:37 2019 +0000
+++ b/sps30.h Tue Mar 12 03:26:29 2019 +0000
@@ -39,11 +39,11 @@
class sps30 {
public:
- enum SPSerror {
- SPSnoERROR, //all ok
- SPSisReady, //ready ststus register
- SPSnoAckERROR, //no I2C ACK error
- SPScrcERROR, //CRC error, any
+ enum SPSError {
+ SPSNOERROR, //all ok
+ SPSISREADY, //ready ststus register
+ SPSNOACKERROR, //no I2C ACK error
+ SPSCRCERROR, //CRC error, any
};
uint16_t ready; /**< 1 = ready, 0 = busy */