+115
−128
Loading
One of the more complicated functions. Expunge some of the logic to separate functions (FF -> PID id conversion) Add a macro for envelope check to make it more readable in the upload function. All this made it possible to to expunge common code from the big switch statement and reduce the overall function size considerably. Now it can fit on one screen. Move the effect_cout logic from report functions to upload/erase functions. Signed-off-by:Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com> Signed-off-by:
Jiri Kosina <jkosina@suse.com>