FwupdPlugin.Firmware.set_alignment

### Method

# FwupdPlugin Firmwareset_alignment

since: 1.6.0

#### Declaration [src]

    void
    fu_firmware_set_alignment (
      FuFirmware* self,
      FuFirmwareAlignment alignment
    )

#### Description [src]

Sets the alignment of the firmware.

This allows a firmware to pad to a power of 2 boundary, where `alignment` is the bit position to align to.

Available since: 1.6.0

#### Parameters

`alignment`

  Type: `FuFirmwareAlignment`

  A `FuFirmwareAlignment`.