Skip to content

Commit 07aae04

Browse files
authored
Fix build.rs in project readme (#49)
1 parent b53e66d commit 07aae04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ info provided by your apps `build.rs`:
4848
b.freertos("path/to/FreeRTOS-Kernel");
4949
b.freertos_config("src"); // Location of `FreeRTOSConfig.h`
5050
b.freertos_port("GCC/ARM_CM3"); // Port dir relativ to 'FreeRTOS-Kernel/portable'
51-
b.heap("heap4.c"); // Set the heap_?.c allocator to use from
51+
b.heap("heap_4.c"); // Set the heap_?.c allocator to use from
5252
// 'FreeRTOS-Kernel/portable/MemMang' (Default: heap_4.c)
5353
5454
// b.get_cc().file("More.c"); // Optional additional C-Code to be compiled
5555
56-
b.compile().unwrap_or_else(|e| { panic!(e.to_string()) });
56+
b.compile().unwrap_or_else(|e| { panic!("{}", e.to_string()) });
5757
}
5858
```
5959

0 commit comments

Comments
 (0)