class library: no startup post for GeneralHID if not necessary. This fixes #1120.
class library: adjust code format