From 0b2345996dd6b0318e5c794c0fcb8921dc6e4427 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 17 Jun 2018 19:28:03 +0200 Subject: Updates from clangformat Signed-off-by: Clifford Wolf --- ice40/chip.cc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'ice40') diff --git a/ice40/chip.cc b/ice40/chip.cc index 23f6ba3a..7074070e 100644 --- a/ice40/chip.cc +++ b/ice40/chip.cc @@ -83,23 +83,28 @@ Chip::Chip(ChipArgs args) : args(args) #ifdef ICE40_HX1K_ONLY if (args.type == ChipArgs::HX1K) { chip_info = - reinterpret_cast *>(chipdb_blob_1k)->get(); + reinterpret_cast *>(chipdb_blob_1k) + ->get(); } else { log_error("Unsupported iCE40 chip type.\n"); } #else if (args.type == ChipArgs::LP384) { chip_info = - reinterpret_cast *>(chipdb_blob_384)->get(); + reinterpret_cast *>(chipdb_blob_384) + ->get(); } else if (args.type == ChipArgs::LP1K || args.type == ChipArgs::HX1K) { chip_info = - reinterpret_cast *>(chipdb_blob_1k)->get(); + reinterpret_cast *>(chipdb_blob_1k) + ->get(); } else if (args.type == ChipArgs::UP5K) { chip_info = - reinterpret_cast *>(chipdb_blob_5k)->get(); + reinterpret_cast *>(chipdb_blob_5k) + ->get(); } else if (args.type == ChipArgs::LP8K || args.type == ChipArgs::HX8K) { chip_info = - reinterpret_cast *>(chipdb_blob_8k)->get(); + reinterpret_cast *>(chipdb_blob_8k) + ->get(); } else { log_error("Unsupported iCE40 chip type.\n"); } -- cgit v1.2.3