Commit fcdb239
committed
py: Make int.to_bytes work on big endian machine.
Partly addresses issue adafruit#856.1 parent a9bcd51 commit fcdb239
1 file changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
330 | 334 | | |
| 335 | + | |
331 | 336 | | |
332 | | - | |
333 | 337 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
341 | 350 | | |
342 | 351 | | |
343 | | - | |
344 | 352 | | |
345 | 353 | | |
346 | 354 | | |
| |||
0 commit comments