Commit f7b049d
Replace __unix__ defines with DMOD_USE_NANOSLEEP configuration
- Added DMOD_USE_NANOSLEEP configuration option in dmod-defaults.cmake
- Added DMOD_USE_NANOSLEEP define in dmod-config.h.in
- Replaced __unix__ and __APPLE__ checks with DMOD_USE_NANOSLEEP in dmod_if_rtos.c
- This follows the project pattern of using cmake configuration for embedded compatibility
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>1 parent 4066570 commit f7b049d
File tree
3 files changed
+15
-52
lines changed- src/system/if
3 files changed
+15
-52
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | | - | |
198 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
199 | 202 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
| 203 | + | |
| 204 | + | |
217 | 205 | | |
218 | 206 | | |
219 | 207 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | 208 | | |
237 | 209 | | |
238 | 210 | | |
| |||
253 | 225 | | |
254 | 226 | | |
255 | 227 | | |
256 | | - | |
| 228 | + | |
257 | 229 | | |
258 | 230 | | |
259 | 231 | | |
| |||
273 | 245 | | |
274 | 246 | | |
275 | 247 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | 248 | | |
290 | 249 | | |
291 | 250 | | |
| |||
0 commit comments