summaryrefslogtreecommitdiff
path: root/apps/plugins/battery_bench.c (follow)
Commit message (Collapse)AuthorAge
* Lil' tweak to plugins using remove_thread. Just use remove_thread(NULL) to ↵Michael Sevakis2006-12-21
| | | | | | have a thread remove itself. No subsequent yield() is needed either. Small Note: in current scheduler implementation it safe to call remove_thread IFF 1) thread removes itself 2) its state is known to be running (1 implies 2) as any objects with the waiting removed thread will be corrupted (m->thread, q->thread no longer valid or no longer same object if recycled, etc.). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11826 a1c6a512-1295-4272-9138-f99709370657
* Convert queues to use intptr_t for event data and return values as most of ↵Michael Sevakis2006-12-19
| | | | | | the time pointer are not passed and it should make some things a bit cleaner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11818 a1c6a512-1295-4272-9138-f99709370657
* add gigabeat button definesMarcoen Hirschberg2006-12-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11663 a1c6a512-1295-4272-9138-f99709370657
* Moved archos button reading to target tree. * Cleanup of button.[ch]. * ↵Jens Arnold2006-11-27
| | | | | | Deactivated serial remote code for recorder FM/V2 as there is no remote pin, saving ~500 bytes of code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11612 a1c6a512-1295-4272-9138-f99709370657
* player doesnt have lcd_update()... grr!Jonathan Gordon2006-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11407 a1c6a512-1295-4272-9138-f99709370657
* * give tsr plugins the choice to quit or notJonathan Gordon2006-10-31
| | | | | | | * bumps plugin api version git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11405 a1c6a512-1295-4272-9138-f99709370657
* Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the ↵Barry Wardell2006-10-26
| | | | | | nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
* New scheduler, with priorities for swcodec platforms. Frequent taskMiika Pekkarinen2006-09-16
| | | | | | | | | | switching should be more efficient and tasks are stored in linked lists to eliminate unnecessary task switching to improve performance. Audio should no longer skip on swcodec targets caused by too CPU hungry UI thread or background threads. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
* Fix errors when building H10 Normal build.Barry Wardell2006-08-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10668 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress rework of charging status reading & display: * Changed ↵Jens Arnold2006-06-06
| | | | | | several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
* Battery benchmark: * Don't crash on player. * Map remote buttons for ↵Jens Arnold2006-05-13
| | | | | | recorder & player. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9924 a1c6a512-1295-4272-9138-f99709370657
* Fix bug #5037, spotted by David Rothenberger, also increase the max threads' ↵Hristo Kovachev2006-04-05
| | | | | | count by 2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9512 a1c6a512-1295-4272-9138-f99709370657
* Enabled metronome and battery_bench for X5Daniel Stenberg2006-03-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9371 a1c6a512-1295-4272-9138-f99709370657
* More iPod 3G work from Seven Le MesleDave Chapman2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
* Fixed a few warningsHristo Kovachev2006-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8608 a1c6a512-1295-4272-9138-f99709370657
* 1. Updated battery_bench plugin:Hristo Kovachev2006-02-07
| | | | | | | | | | | 1.1 Don't use the plugin_get_buffer() so the playlist viewer should work with this plugin running; 1.2 Added new columns for charger inserted, charging, usb powered; 1.3 Some other small improvements 2. charger_inserted() again returns only the AC/DC charger state on H3x0, doesn't include the usb state; 3. Some ifdefs corrected in power.c and power.h; git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8607 a1c6a512-1295-4272-9138-f99709370657
* Added iFP keybindings.Tomasz Malesinski2006-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8551 a1c6a512-1295-4272-9138-f99709370657
* Button mappings for iPods, using mp3_is_playing() for harware platforms, ↵Hristo Kovachev2006-01-25
| | | | | | file format converted to unix git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8453 a1c6a512-1295-4272-9138-f99709370657
* And the plugin itself ... :)Hristo Kovachev2006-01-25
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8452 a1c6a512-1295-4272-9138-f99709370657