Skip to content
Snippets Groups Projects
Select Git revision
  • a78a9e63ac7e03f22bfa55178f663f4ed006ec2a
  • main default protected
  • blm_dev_chan
  • release/1.4.0 protected
  • widgets_draw
  • return_of_melodic_demo
  • task_cleanup
  • mixer2
  • dx/fb-save-restore
  • dx/dldldld
  • fpletz/flake
  • dx/jacksense-headset-mic-only
  • release/1.3.0 protected
  • fil3s-limit-filesize
  • allow-reloading-sunmenu
  • wifi-json-error-handling
  • app_text_viewer
  • shoegaze-fps
  • media_has_video_has_audio
  • fil3s-media
  • more-accurate-battery
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.2.0+rc1
  • v1.1.1
  • v1.1.0
  • v1.1.0+rc1
  • v1.0.0
  • v1.0.0+rc6
  • v1.0.0+rc5
  • v1.0.0+rc4
  • v1.0.0+rc3
  • v1.0.0+rc2
  • v1.0.0+rc1
35 results

sys_kernel.py

Blame
    • rahix's avatar
      31eeca89
      sim: Fix sys_kernel re-importing host time module · 31eeca89
      rahix authored and rahix's avatar rahix committed
      By importing `_time` in `freertos_sleep()`, the host time module was
      imported as `time` again as well, breaking all later code using e.g.
      `time.ticks_ms()`.
      
      Fix this by using `time` in `sys_kernel.freertos_sleep()` as well.
      31eeca89
      History
      sim: Fix sys_kernel re-importing host time module
      rahix authored and rahix's avatar rahix committed
      By importing `_time` in `freertos_sleep()`, the host time module was
      imported as `time` again as well, breaking all later code using e.g.
      `time.ticks_ms()`.
      
      Fix this by using `time` in `sys_kernel.freertos_sleep()` as well.
    sys_kernel.py 598 B