RebelTechnology / OwlServer

Web-based Client/Server application for the Open Ware Laboratory
GNU General Public License v2.0
2 stars 2 forks source link

RAM slot should be cleared upon PC #272

Closed f-rebeltech closed 2 years ago

f-rebeltech commented 2 years ago

@pingdynasty do comment on the full behaviour.

pingdynasty commented 2 years ago

On the Device page, if a patch is loaded into slot 0 it displays correctly as RAM: Whatever on the first line. If you then select a patch from another slot, it still says RAM: whatever, even though that patch is now gone.

To make it clear that the device no longer has that patch, we should clear the name in slot 0 when any PC message is received. Because the device sends out a PC whenever a patch is loaded (from storage or from web).

Additionally, when a PC is received, the patch message, CPU stats and memory stats should also be cleared.

f-rebeltech commented 2 years ago

6c8196d