PSTR() pre-processor directive added

Rene Bartsch 2018-07-12 15:10:07 +02:00
parent 06b2e925c0
commit 55e4b7190f
1 changed files with 5 additions and 1 deletions

@ -87,3 +87,7 @@ snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_I2C "MPR121(%c) " D_FOUND_AT "
AddLogSerial(LOG_LEVEL_INFO);
```
#### void AddLogMissed(char *sensor, uint8_t misses)
### Useful pre-processor directives
### `PSTR("string")`
This pre-processor directive save RAM by storing strings in flash instead of RAM