Von Diericke, Friedrich Otto, active 1810-1812, Prussian general