| 168 | } |
| 169 | |
| 170 | void Parameters::Param::set_float(float v) const |
| 171 | { |
| 172 | auto *p = (float *)ptr; |
| 173 | *p = v; |
| 174 | union { |
| 175 | float f; |
| 176 | uint32_t u32; |
| 177 | } u; |
| 178 | u.f = v; |
| 179 | nvs_set_u32(handle, name, u.u32); |
| 180 | } |
| 181 | |
| 182 | void Parameters::Param::set_char20(const char *v) const |
| 183 | { |
no outgoing calls
no test coverage detected