summaryrefslogtreecommitdiff
path: root/peripherals/rstc/rstc.c
diff options
context:
space:
mode:
Diffstat (limited to 'peripherals/rstc/rstc.c')
-rw-r--r--peripherals/rstc/rstc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/peripherals/rstc/rstc.c b/peripherals/rstc/rstc.c
index 7f6ceca..eeccd4b 100644
--- a/peripherals/rstc/rstc.c
+++ b/peripherals/rstc/rstc.c
@@ -170,7 +170,7 @@ unsigned char RSTC_IsBusy(void)
//-----------------------------------------------------------------------------
/// Get the status
//-----------------------------------------------------------------------------
-unsigned char RSTC_GetStatus(void)
+unsigned long RSTC_GetStatus(void)
{
return (AT91C_BASE_RSTC->RSTC_RSR);
}
personal git repositories of Harald Welte. Your mileage may vary