hw/sensor: Fix unterminated #if and more typos
@@ -1229,7 +1229,8 @@ assert(rc == 0);
assert(rc == 0);
rc = config_lps33thw_sensor();
- assert
+ assert(rc == 0);
+#endif
#if MYNEWT_VAL(LIS2DW12_OFB)
rc = os_dev_create((struct os_dev *) &lis2dw12, "lis2dw12_0",
