summaryrefslogtreecommitdiff
path: root/apps/plugins/battery_bench.c (unfollow)
Commit message (Collapse)Author
2006-12-21Lil' tweak to plugins using remove_thread. Just use remove_thread(NULL) to ↵Michael Sevakis
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
2006-12-19Convert queues to use intptr_t for event data and return values as most of ↵Michael Sevakis
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
2006-12-05add gigabeat button definesMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11663 a1c6a512-1295-4272-9138-f99709370657
2006-11-27Moved archos button reading to target tree. * Cleanup of button.[ch]. * ↵Jens Arnold
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
2006-10-31player doesnt have lcd_update()... grr!Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11407 a1c6a512-1295-4272-9138-f99709370657
2006-10-31* give tsr plugins the choice to quit or notJonathan Gordon
* bumps plugin api version git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11405 a1c6a512-1295-4272-9138-f99709370657
2006-10-26Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the ↵Barry Wardell
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
2006-09-16New scheduler, with priorities for swcodec platforms. Frequent taskMiika Pekkarinen
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
2006-08-20Fix errors when building H10 Normal build.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10668 a1c6a512-1295-4272-9138-f99709370657
2006-06-06Work-in-progress rework of charging status reading & display: * Changed ↵Jens Arnold
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
2006-05-13Battery benchmark: * Don't crash on player. * Map remote buttons for ↵Jens Arnold
recorder & player. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9924 a1c6a512-1295-4272-9138-f99709370657
2006-04-05Fix bug #5037, spotted by David Rothenberger, also increase the max threads' ↵Hristo Kovachev
count by 2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9512 a1c6a512-1295-4272-9138-f99709370657
2006-03-30Enabled metronome and battery_bench for X5Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9371 a1c6a512-1295-4272-9138-f99709370657
2006-02-24More iPod 3G work from Seven Le MesleDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-07Fixed a few warningsHristo Kovachev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8608 a1c6a512-1295-4272-9138-f99709370657
2006-02-071. Updated battery_bench plugin:Hristo Kovachev
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
2006-02-03Added iFP keybindings.Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8551 a1c6a512-1295-4272-9138-f99709370657
2006-01-25Button mappings for iPods, using mp3_is_playing() for harware platforms, ↵Hristo Kovachev
file format converted to unix git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8453 a1c6a512-1295-4272-9138-f99709370657
2006-01-25And the plugin itself ... :)Hristo Kovachev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8452 a1c6a512-1295-4272-9138-f99709370657