mirror of https://github.com/arendst/Tasmota.git
PSTR() pre-processor directive added
parent
06b2e925c0
commit
55e4b7190f
|
@ -86,4 +86,8 @@ AddLog(LOG_LEVEL_INFO);
|
|||
snprintf_P(log_data, sizeof(log_data), PSTR(D_LOG_I2C "MPR121(%c) " D_FOUND_AT " 0x%X"), pS->id[i], pS->i2c_addr[i]);
|
||||
AddLogSerial(LOG_LEVEL_INFO);
|
||||
```
|
||||
#### void AddLogMissed(char *sensor, uint8_t misses)
|
||||
#### 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
|
Loading…
Reference in New Issue